boolean.h c code example Example 1: boolean in c #include <stdbool.h> bool x = true; Example 2: c bool #include <stdbool.h>