Beginner C++
Q25 / 100

What is the size of a bool in C++?

Correct! Well done.

Incorrect.

The correct answer is C) Implementation-defined, at least 1 byte

C

Correct Answer

Implementation-defined, at least 1 byte

Explanation

The C++ standard says bool is at least 1 byte (to be addressable). Its exact size is implementation-defined but typically 1 byte.

Progress
25/100