Google News
logo
CPP - Quiz(MCQ)
Is bool a fundamental data type in C++?
A)
Yes
B)
No, it is an enum of {false, true}
C)
No, it is expanded from macros
D)
No, it is a typedef of unsigned char

Correct Answer :   Yes


Explanation : C++ has bool as a fundamental data type.

Advertisement