Answers for "c programming declaring boolean"

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

Code answers related to "C"

Browse Popular Code Answers by Language