Q189
What will be the output of the following C code? #include #define foo(x, y) x / y + x int main() int i = -6, j = 3; printf("%d ", foo(i + j, 3)); printf("%d ", foo(-3, 3)); return 0;
A.
-8 -4
AnswerB.
-4 divided by zero exception
C.
-4 -4
D.
Divided by zero exception
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board