Discussion :: Testing New
-
Determine Output:
#include<stdio.h>
#define a 10
void main()
{
#define a 50
printf("%d", a);
}
Answer : Option A
Explanation :
The preprocessor directives can be redefined anywhere in the program. So the most recently assigned value will be taken.
Be The First To Comment