?
Determine Output:
Determine Output:
#include<stdio.h>
#define a 10
void main()
{
#define a 50
printf("%d", a);
}
#include<stdio.h>
#define a 10
void main()
{
#define a 50
printf("%d", a);
}
Answer & Solution
Correct Answer:
Option
A
The preprocessor directives can be redefined anywhere in the program. So the most recently assigned value will be taken.
Join the Discussion
Login to post a comment or share your explanation.
Login