Answers for "how to define boolean in c"

C
9

boolean in c

#include <stdbool.h>
bool x = true;
Posted by: Guest on June-22-2020
3

how to print boolean in c

printf("%s", x ? "true" : "false");
Posted by: Guest on December-14-2020
2

boolean function c

#include <stdbool.h>
Posted by: Guest on March-09-2020

Code answers related to "C"

Browse Popular Code Answers by Language