C99 boolean data type?
Include <stdbool.h> header #include <stdbool.h> int main(void){ bool b = false; } Macros true and false expand to 1 and 0 respectively. Section 7.16 Boolean type and values < stdbool.h > 1 The header <stdbool.h> defines four macros. 2 The macro bool expands to _Bool. 3 The remaining three macros are suitable for use in … Read more