summaryrefslogtreecommitdiff
path: root/strings.c
blob: 0353fc511ebe614a4eafd82d7d574b3f8dd85ad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <stdio.h>

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;
}