Determine Output:
#include#define a 10void main(){ #define a 50 printf("%d", a);}
#include#define a 10void main(){ #define a 50 printf("%d", a);} Determine Output:
#include<stdio.h>#define a 10void main(){ #define a 50 printf("%d", a);} Correct Answer 50
The preprocessor directives can be redefined anywhere in the program. So the most recently assigned value will be taken.
মোঃ আরিফুল ইসলাম
Feb 20, 2025