Contact: aviboots(AT)netvision.net.il
40,764 questions
53,140 answers
573 users
#include <stdio.h> #include <stdbool.h> int main() { bool b = true; printf("%d\n", b); b = false; printf("%d\n", b); } /* run: 1 0 */
#include <stdio.h> #include <stdbool.h> int main() { bool b = true; printf("%s", b ? "true\n" : "false\n"); } /* run: true */