+ 2
What is use of bool?
4 Answers
+ 6
It is used for
True (1)
or
False (0)
+ 6
This may answer some othe questions you may have.
Cheers
https://www.sololearn.com/discuss/284542/?ref=app
+ 5
Logical expressions are used in "if", "while", "for" and other statements.
+ 2
it's used to check/define if an operation or statement is true or false.