C | Macro & Preprocessor | Question 14
What is the output of following program?
(A) Compiler Error
Explanation: The program has a preprocessor that replaces “MAIN” with “macro(n, a, i, m)”. The line “macro(n, a, i, m)” is again replaced by main. The key thing to note is token pasting operator ## which concatenates parameters to macro.
Quiz of this Question