Examveda
Examveda

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");
}

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


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function