?
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 10
main()
{
#ifdef hello
#undef hello
#define hello 100
#else
#define hello 200
#endif
printf("%d",hello);
}
#include<stdio.h>
#define hello 10
main()
{
#ifdef hello
#undef hello
#define hello 100
#else
#define hello 200
#endif
printf("%d",hello);
}
Join the Discussion
Login to post a comment or share your explanation.
Login