1.

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

A. 0
B. 1
C. Undefined behaviour
D. Compilation error
Answer» C. Undefined behaviour


Discussion

No Comment Found

Related MCQs