Use of bool | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Use of bool

Anyone can plz explain the function of bool in c

15th Jun 2019, 4:59 PM
Kavita Bharti
Kavita Bharti - avatar
1 Answer
+ 5
A bool is a value of either True or False. They are returned and used by decision making operators and statements If-statements and equality operator are good examples
15th Jun 2019, 5:05 PM
Trigger
Trigger - avatar