Sail E0 Webinar
Question

In C++, what is the sign of character data type by default?


Options:
A .  Signed
B .  Unsigned
C .  Implementation dependent
D .  None of these
Answer: Option C

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.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers