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