Skip to content
[dk]

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

Using true and false in C

This post was written more than 13 years ago. Some of it may be out of date.

#define FALSE 0
#define TRUE !(FALSE)

typedef enum { FALSE, TRUE } boolean;

cd .. Back to all posts