Answers for "how to print boolean in printf?"

C
6

printf with bool

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

Code answers related to "C"

Browse Popular Code Answers by Language