I tried
printf(\"%d, %d\\n\", sizeof(char), sizeof(\'c\'));
and got 1, 4 as output. If size of a character is one, why does \'c\'
\'c\'
It is the normal behavior of the sizeof operator (See Wikipedia):
sizeof
char
int