MCQs
None.
The standard does NOT require a char to be 8-bits, but does require that sizeof(char) return 1.
In C++, sizeof('a') == sizeof(char) == 1. In C however, sizeof('a') == sizeof(int).
The standard does not specify if plain char is signed or unsigned. There are three distinct character
types according to the standard: char, signed char and unsigned char.
The value '`setminus`012' means the character with value 12 in octal, which is decimal 10.
wchar_t and char is used to represent wide character and character.
A wide character is always indicated by immediately preceding the character literal by an L.
The literal value for 74 is J. So it will be printing J.
Every character constant has an integer value. Also char belongs to the integral type hence arithmetic
and logical operations can be performed on them.
None.