Vidyalelo
C Programming · Q60

C Preprocessor

Programming · C Programming · question 60

Q60

What will be the output of the following C code? #include #define hello main() #ifdef hello #define hi 4 #else #define hi 5 #endif printf("%d",hi);

A.
4
Answer
B.
5
C.
45
D.
error

Answer: Option A

Solution

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