Friday, December 4, 2009

The preprocessor directives can be redefined anywhere in the program

#include
#define a 10
main()
{
#define a 50
printf("%d",a);
}
Answer:
50
Explanation:
The preprocessor directives can be redefined anywhere in the program. So
the most recently assigned value will be taken.

0 comments:

Post a Comment