Examveda

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);
 
}

A. 4

B. 5

C. 45

D. error

Answer: Option A


This Question Belongs to C Program >> C Preprocessor

Join The Discussion

Related Questions on C Preprocessor