Which of the following statement(s) is/are true about pre-processor in C/C++?
Which of the following statement(s) is/are true about pre-processor in C/C++?
I. To replace each # include directive with the contents of the designated file.
II. To replace each escape sequence with designated character.
III. To process macro definitions and expand macro calls.
Show answerHide answer
Correct answer: (D) I, II and III
Explanation
The preprocessor stage replaces #include lines with the file contents and expands macros; the key also counts handling of escape sequences in this preprocessing step, so all three are taken as correct.