Does it true that c does not support boolean value by default? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does it true that c does not support boolean value by default?

Yes, c has defines a header file stdbool.h for bollean expression. But I think we can also using boolean variables or bollean expressions without enclise stdbool.h.

7th Feb 2023, 9:53 PM
Oliver Pasaribu
2 Answers
7th Feb 2023, 10:23 PM
Lisa
Lisa - avatar
0
https://en.cppreference.com/w/c/language/bool_constant
8th Feb 2023, 1:10 AM
MO ELomari