Vidyalelo
C Programming · Q53

C Preprocessor

Programming · C Programming · question 53

Q53

What will be the output of the following C code? #include #define sf 10 main() if(sf==100) printf("good"); else printf("bad"); sf=100; printf("%d",sf);

A.
100
B.
bad
C.
10
D.
error
Answer

Answer: Option D

Solution

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