Vidyalelo
C Programming · Q135

Function

Programming · C Programming · question 135

Q135

What will be the output of the following C code? #include #define foo(m, n) m ## n void myfunc(); int main() myfunc(); void myfunc() printf("%d ", foo(2, 3));

A.
23
Answer
B.
2 3
C.
Compile time error
D.
Undefined behaviour

Answer: Option A

Solution

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