1.

What will be the output of the following C code? #include <stdio.h> int main() { int y = 1, x = 0; int l = (y++, x++) ? y : x; printf("%d\n", l); }

A. 1
B. 2
C. Compile time error
D. Undefined behaviour
Answer» B. 2


Discussion

No Comment Found

Related MCQs