Question
Is the size of character literals different in C and C++?
Answer: Option C
Was this answer helpful ?
In C++, sizeof('a') == sizeof(char) == 1. In C however, sizeof('a') == sizeof(int).
Was this answer helpful ?
Submit Solution