Vidyalelo
C Programming · Q41

C Preprocessor

Programming · C Programming · question 41

Q41

What will be output after executing following code? #include # define a 10 void main() printf("%d..", a); foo(); printf("%d", a); void foo() #undef a #define a 50

A.
10..50
B.
10..10
Answer
C.
0
D.
Error

Answer: Option B

Solution

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