Q183
What will be the output of the following C code? #include int main() int x = 2, y = 0, l; int z; z = y = 1, l = x && y; printf("%d ", l); return 0;
A.
0
B.
1
AnswerC.
Undefined behaviour due to order of evaluation can be different
D.
Compilation error
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board