There are various reasons for using the int data type to represent Boolean return values, function parameters, or variables in C and C++. Some are historical and traditional. Boolean types in C Before the C99 standard, there was no official …
Read moreWhat’s the difference between _Bool and bool in C?
In the C programming language, _Bool is a keyword that has been officially part of the the language starting with the C99 standard. When you use _Bool as a data type, you don’t have to including anything special — it’s just another keyword. The …
Read more