Home » C++ Programming » Data Types » Question
  1. In C++, what is the sign of character data type by default?
    1. Unsigned
    2. Implementation dependent
    3. Signed
    4. All of above
    5. None of these
Correct Option: B

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.



Your comments will be displayed only after manual approval.