InterviewSolution
Saved Bookmarks
| 1. |
Is bool a fundamental data type 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 macrosThis question was posed to me by my school teacher while I was bunking the class.This key question is from Booleans topic in chapter Types, Pointers, Arrays & Structures in C++ of C++ |
|
Answer» The correct OPTION is (a) Yes |
|