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