Google News
logo
CPP - Quiz(MCQ)
In C++, what is the sign of character data type by default?
A)
Implementation dependent
B)
Unsigned Implementation
C)
Signed
D)
Unsigned

Correct Answer :   Implementation dependent


Explanation : 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.

Advertisement