What is use of bool? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

What is use of bool?

16th Apr 2017, 3:43 PM
Harikrishnan s
Harikrishnan s - avatar
4 Respostas
+ 6
It is used for True (1) or False (0)
16th Apr 2017, 3:47 PM
Manual
Manual - avatar
+ 6
This may answer some othe questions you may have. Cheers https://www.sololearn.com/discuss/284542/?ref=app
16th Apr 2017, 3:49 PM
Manual
Manual - avatar
+ 5
Logical expressions are used in "if", "while", "for" and other statements.
16th Apr 2017, 3:47 PM
TamƔs Barta
TamƔs Barta - avatar
+ 2
it's used to check/define if an operation or statement is true or false.
16th Apr 2017, 3:46 PM
Welliton Malta
Welliton Malta - avatar