Contact: aviboots(AT)netvision.net.il
39,950 questions
51,892 answers
573 users
#include <stdio.h> #include <stdbool.h> int main(void) { bool b = false; printf("%d\n", b); if ( 31 > 14) b = true; printf("%d\n", b); return 0; } /* run: 0 1 */
#include <stdio.h> #include <stdbool.h> int main(void) { bool a = true; bool b = false; if (a) { puts("a = true"); } if (!b) { puts("b = false"); } return 0; } /* run: a = true b = false */