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

Join The Discussion