Sail E0 Webinar
Question

Is bool a fundamental datatype in C++?


Options:
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: Option A

 C++ has bool as a fundamental data type.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers