Home » C++ Programming » Data Types » Question
  1. Is bool a fundamental data type in C++?
    1. No, it is expanded from macros
    2. No, it is an enum of {false, true}
    3. No, it is a typedef of unsigned char
    4. Yes
    5. None of these
Correct Option: D

C++ has bool as a fundamental data type.



Your comments will be displayed only after manual approval.