1.

In the following code fragment int x, y = 2, z, a; x=(y*=2) + (z=a=y); printf (‘%d’,x);

A. prints 8
B. prints 6
C. prints 6 or 8 depending on the compiler
D. is syntactically wrong
Answer» B. prints 6


Discussion

No Comment Found