Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What is the size of a boolean variable in C++?

a) 1 bit
b) 1 byte
c) 4 bytes
d) 2 bytes

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

Join The Discussion