To put it simply, a Boolean variable can have only two potential values: true or false. To declare this type of variable in C++, we utilize the term bool. Consider the following example: bool b1 equals true; bool b2 equals false; Boolean variables labelled true in C++ are allocated the value 1, whereas false values are assigned the value 0.
Vishalini.R Answered question June 29, 2023
				