A
Q. What is the output of C program?
Code:
#include <stdio.h>
#if X == 3
#define Y 3
#else
#define Y 5
#endif
int main()
{
printf("%d", Y);
return 0;
}
#if X == 3
#define Y 3
#else
#define Y 5
#endif
int main()
{
printf("%d", Y);
return 0;
}
- Correct Answer - Option(B)
- Views: 26
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.