Q297
What will be the output of the following C code? #include void main() int y = 3; int x = 5 % 2 * 3 / 2; printf("Value of x is %d", x);
A.
Value of x is 1
AnswerB.
Value of x is 2
C.
Value of x is 3
D.
Compile time error
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board