Skip to content
[dk]

~/blog/using-true-and-false-in-c.md

Using true and false in C

#define FALSE 0
#define TRUE !(FALSE)

typedef enum { FALSE, TRUE } boolean;