VALUE OF TRUE AND FALSE IN C

#include <stdio.h>

 int main(void) {
    printf("The value of 1<2 is %d\n", (1<2));
    printf("The value of 2<1 is %d\n", (2<1));
 }

 /* output

 The value of 1<2 is 1
 The value of 2<1 is 0

*/

No comments:

Related Posts with Thumbnails