Google News
logo
CPP - Quiz(MCQ)
What is the size of a boolean variable in C++?
A)
1 byte
B)
1 bit
C)
2 bytes
D)
4 bytes

Correct Answer :   1 bit


Explanation : Boolean uses only 1 bit as it stores only truth values which can be true(1) or false(0).

Advertisement