Sail E0 Webinar
Question
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
}
Options:
A .  10..50
B .  10..10
C .  0
D .  Error
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers