🎴 Flashcard Mode
Compiler Design
Card1 / 15
Mastered0
Review0
QuestionClick to flip
Which of the following is a similarity between macro processor and compiler pre-processor?
AnswerClick to flip back
A
Functionally, both are same.
💡 Explanation:
Both processes are performed before the actual conversion of source program is done. Macro processor puts the actual assembly code in place of Macro symbol, wherever these are used or defined. Compiler pre processor preprocesses the header files and other predefined terms.