The following is the famous line from the famous C
book - The C programming Language
by Kernighan & Ritchie
with respect to a character written between single quotes.
A character written between single quotes represents an integer value equal to the numerical value of the character in the machine's character set.
So sizeof('a')
is equivalent to sizeof(int)