/* c99: the _Bool type */ #include #include /* Header for _Bool */ int main() { _Bool x; bool y; /* bool is a macro with the same meaning of _Bool */ x = true; y = true; if (x==y) printf("Equals\n"); printf("VALUES-> true: %d false: %d\n", true, false); printf("SIZES -> _Bool: %ld short: %ld\n", sizeof(_Bool), sizeof(short)); return 0; }