?
What will be the output of the following C code?
What will be the output of the following C code?
#include <stdio.h>
#define hello( n ) printf( "a" #n "= %d", a##n )
int a3=3;
int main()
{
#ifdef a3
hello(3);
#else
printf("sorry");
#endif
}
#include <stdio.h>
#define hello( n ) printf( "a" #n "= %d", a##n )
int a3=3;
int main()
{
#ifdef a3
hello(3);
#else
printf("sorry");
#endif
}
Join the Discussion
Login to post a comment or share your explanation.
Login