What is the output of the following C program?
#include <stdio.h>
int main(void) {
int a = 3, b = 0;
printf("%d %d %d %d\n", a && b, a || b, !a || b, !(a && !b));
return 0;
}
3 is true and 0 is false. a && b = 0, a || b = 1 (not 3), !a || b = 0 || 0 = 0, and !(a && !b) = !(1 && 1) = 0.