As far as I can see there are 3 ways to use booleans in c
#defin
Just include if your system provides it. That defines a number of macros, including bool, false, and true (defined to _Bool, 0, and 1 respectively). See section 7.16 of C99 for more details.
bool
false
true
_Bool