From 102341d7ae8793c29d44fa416d3b5b797d1eca3e Mon Sep 17 00:00:00 2001 From: Clay Smith Date: Tue, 1 Aug 2023 01:09:09 -0500 Subject: First commit --- strings.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 strings.c (limited to 'strings.c') diff --git a/strings.c b/strings.c new file mode 100644 index 0000000..0353fc5 --- /dev/null +++ b/strings.c @@ -0,0 +1,28 @@ +#include + +static char myArr[7] = {'C','a','r','o','l'}; + + +int main(void) +{ + + /* char birthdays[6]; */ + + /* birthdays[0] = 'C'; */ + + /* printf("%c\n", birthdays[0]); */ + + /* birthdays[5] = 0; */ + + //char dragon[] = {'C','a','r','o','l', '\0'}; + + + char dragon[7651] = {'C','a','r','o','l', '\0'}; + + printf("%s\n", myArr); + + return 0; +} + + + -- cgit v1.2.1