#include stdio.h

int main() {
int a = 1, b = 0, c = 1, d = 1;
int output;

output = (!a && b) || (c && d);

printf("Output: %d\n", output);

return 0;
}

What is the output of the following program

Posted on by