Vidyalelo
C Programming · Q84

Function

Programming · C Programming · question 84

Q84

What will be the output of the following C code? #include #define foo(m, n) m * n = 10 int main() printf("in main ");

A.
In main
Answer
B.
Compilation error as lvalue is required for the expression m*n=10
C.
Preprocessor error as lvalue is required for the expression m*n=10
D.
None of the mentioned

Answer: Option A

Solution

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