What will be the output of the following C code?
#include <stdio.h>
#define foo(m, n) m * n = 10
int main()
{
printf("in main\n");
}
#include <stdio.h>
#define foo(m, n) m * n = 10
int main()
{
printf("in main\n");
}
A. In main
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
Join The Discussion