How To Print A Boolean C Code Example


Example: how to print boolean in c

printf("%s", x ? "true" : "false");

Comments