Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
#define hello( n ) a##n
int a3;
int main()
{
    int x;
    x=hello(3);
    if(x!=0)
        printf("hi");
    else
        printf("good");
}

A. error

B. a3

C. good

D. hi

Answer: Option C


This Question Belongs to C Program >> C Preprocessor

Join The Discussion

Related Questions on C Preprocessor