Examveda

What will be the output of the following C code?
#include <stdio.h>
#define foo(m, n) m ## n
void myfunc();
int main()
{
    myfunc();
}
void myfunc()
{
    printf("%d\n", foo(2, 3));
}

A. 23

B. 2 3

C. Compile time error

D. Undefined behaviour

Answer: Option A


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function