in c how do you print a bool code example Example: how to print boolean in c printf("%s", x ? "true" : "false");