C Programming :: Control Instructions - Discussion
Home > C Programming > Control Instructions > MCQs Questions Discussion
23 / 33
What is the value of x after the following statmements?
int x = 2, y = 2, z = 1;
if (x = y%2)
z = x;
else
z=y;
int x = 2, y = 2, z = 1;
if (x = y%2)
z = x;
else
z=y;
A0
B2
C1
DCompilation Error
ENone of the above
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!