Bool data type | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Bool data type

Can someone explain bool data type in c++?

6th Jul 2019, 2:39 AM
ankit doot
ankit doot - avatar
2 Answers
+ 2
also, use the search bar before asking a question https://www.sololearn.com/discuss/1845617/?ref=app
6th Jul 2019, 3:37 AM
Pikachu
Pikachu - avatar
+ 1
in c++ boolean data types can either be 1(true) or 0(false)
6th Jul 2019, 3:35 AM
Pikachu
Pikachu - avatar