why is bool used
and
is there any website where I can find all the operations of c++ like these
Why is bool used
@Souradeep-Kundu-824545687968212 In C++, the data type bool has been introduced to hold a boolean value, true or false.The values true or false have been added as keywords in the C++ language. So to take value of true or false or 0 or 1 you can take bool variable.You can find all datatypes on this link: