Character literal is not a character in C
arjunsreedharan.org
arjunsreedharan.org
The value of a char is the ASCII code for the character, so 'a' is stored as the integer 97.
This is documented in "The C Programming Language" on pages 35-36.
C does not have a string type. By convention a string is an array of char with a null (0) byte at the end.
C++ follows the same conventions for char and arrays of char, but implements "real" strings with more string-like behavior.
printf("sizeof('abcd') %d\n", sizeof('abcd'));
printf("'abcd' = %d\n", 'abcd');
produces sizeof('abcd') 4
'abcd' = 1633837924