Home » C Programming » C Preprocessor

Will the program compile successfully? #include #define X (4+Y) #define Y (X+3) int main() { printf("%d\n", 4*X+2); return 0; }

Correct Answer: No

Explanation:

Reports an error: Undefined symbol 'X'

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion