Vidyalelo
C Programming · Q77

C Preprocessor

Programming · C Programming · question 77

Q77

What will be the output of the following C code? #include void f() #define sf 100 printf("%d",sf); int main() #define sf 99; f(); printf("%d",sf);

A.
error
Answer
B.
100
C.
99
D.
10099

Answer: Option A

Solution

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