1// syntax:
2// char <variable-name>[] = "<string/char-you-want-to-store>";
3
4// example (to store 'Hello!' in the YourVar variable):
5char YourVar[] = "Hello!";
6
1
2// syntax:
3// char <variable-name>[] = { '<1st-char>', '<2nd-char>', ... , '<Nth-char>', '\0'};
4
5// example (to store 'Hello' in the YourVar variable):
6char YourVar[] = {'H','e','l','l','o','\0'}; // NOTE: the \0 marks the end of the char array
7