Vidyalelo
C Programming · Q105

Function

Programming · C Programming · question 105

Q105

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)); return 0;

A.
Divided by zero exception
B.
Compile time error
C.
-8
Answer
D.
-4

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board