As far as I can see there are 3 ways to use booleans in c
#defin
I prefer to use
#define FALSE (0!=0)
#define TRUE (0==0)
or directly in the code
if (flag == (0==0)) { ... }
The compiler will take care of that. I use a lot of languages and having to remember that FALSE is 0 bothers me a lot; but if I have to, I usually think about that string loop
do { ... } while (*ptr);
and that leads me to see that FALSE is 0