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

boolean

what is boolean? please give me the specific meaning.

21st Apr 2019, 4:27 AM
Khun Dararith
Khun Dararith - avatar
2 Answers
+ 3
A boolean is a data type that can either be set to true or false.
21st Apr 2019, 4:33 AM
Joseph Broseph
Joseph Broseph - avatar
+ 3
And starting from C99, it was added in the C norm as _Bool
21st Apr 2019, 7:00 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar