The prerpcessor macros don't execute, they are just named fragments of the code which will be replaced by the preprocessor to theirs content if you use them. Read more about preprocessor macros here.
So, after preprocessing, your code will be:
void caller() {
}
Let assume you use the YES
macro after you #define
it:
#define YES 1
#define NO 0
void caller() {
printf("My answer is: %d", YES);
}
After preprocessing the code above will be the following:
void caller() {
printf("My answer is: %d", 1);
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…