Examveda
Examveda

What will be the output of the following C code?
#include<stdio.h>
#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

D. Error

Answer: Option C


This Question Belongs to C Program >> C Preprocessor

Join The Discussion

Related Questions on C Preprocessor