Vidyalelo
C Programming · Q126

Function

Programming · C Programming · question 126

Q126

What will be the output of the following C code? #include void f(); int main() #define foo(x, y) x / y + x f(); void f() printf("%d ", foo(-3, 3));

A.
-8
B.
-4
Answer
C.
Compile time error
D.
Undefined behaviour

Answer: Option B

Solution

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