C examples for stdbool.h:true
macro
Boolean type constant true value
Macro | Expands To |
---|---|
bool | _Bool |
true | 1 |
false | 0 |
__bool_true_false_are_defined | 1 |
#include <stdio.h> #include <stdbool.h> int main()/* www.j ava 2s.c o m*/ { printf("Hello World\n"); bool b = true; printf("%d",b); return 0; }