Q. Determine Output
Code:#include<stdio.h>
#define a 10
void main()
{
#define a 50
printf("%d", a);
}
β
Correct Answer: (A)
50
Explanation: The preprocessor directives can be redefined anywhere in the program. So the most recently assigned value will be taken.