Is bool a fundamental datatype in C++?
A. Yes
B. No, it is a typedef of unsigned char
C. No, it is an enum of {false,true}
D. No, it is expanded from macros
Answer:A
Is bool a fundamental datatype in C++?
A. Yes B. No, it is a typedef of unsigned char C. No, it is an enum of {false,true} D. No, it is expanded from macros
Explanation: C++ has bool as a fundamental data type. 2. Find the odd one out: