Vidyalelo
C Programming · Q50

C Preprocessor

Programming · C Programming · question 50

Q50

What will be the output of the following C code? #include #define INDIA 1 #define US 2 #define CC US main() #if CC==INDIA printf("Rupee"); #elif CC==US printf("Dollar"); #else printf("Euro"); #endif

A.
Euro
B.
Rupee
C.
Dollar
Answer
D.
Error

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board