What will be the output of the following C code?
#include<stdio.h>
#define hello
main()
{
#ifdef hello
#define hi 4
#else
#define hi 5
#endif
printf("%d",hi);
}
#include<stdio.h>
#define hello
main()
{
#ifdef hello
#define hi 4
#else
#define hi 5
#endif
printf("%d",hi);
}A. 4
B. 5
C. 45
D. error
Answer: Option A

Join The Discussion