false - C stdbool.h

C examples for stdbool.h:false

Type

macro

Description

Boolean type constant false value

MacroExpands To
bool _Bool
true 1
false0
__bool_true_false_are_defined1

Demo Code

       

#include <stdio.h>
#include <stdbool.h>
int main()// ww w.  j  a v a 2s  .co  m
{
    printf("Hello World\n");
    bool b = false;
    printf("%d",b);
    return 0;
}

Related Tutorials