explain boolean pls | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

explain boolean pls

15th Oct 2016, 5:23 PM
suhail
4 Answers
+ 3
boolean is a data type of size 1 byte in c++. boolean only contain two values true (1) and false (0).This type of data type is used when we want to deal with true and false.
2nd Feb 2017, 5:53 AM
Ashu Bagul
Ashu Bagul - avatar
+ 2
boolean is ad at a type dat return's either true or false
18th Nov 2016, 3:52 PM
Jibowu Gbenga
Jibowu Gbenga - avatar
+ 2
boolean is a data type which may return true or false if it's true then the value is 1 if it's false then the value is 0
25th Dec 2016, 12:52 PM
sreya
sreya - avatar
+ 1
If we only want to return either true or false then we use boolean data type ...
21st Nov 2016, 3:26 PM
Milan S. Magar
Milan S. Magar - avatar