What is the output of the following code? # include<stdio.h># define a 10 main() { printf("%d..",a); foo(); printf("%d",a); } void foo() { #undef a #define a 50 }
Reveal answer
Fill a bubble to check yourself
What is the output of the following code? # include<stdio.h># define a 10 main() { printf("%d..",a); foo(); printf("%d",a); } void foo() { #undef a #define a 50 }