COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Functionalities such as macro processing, file inclusion and language extension are done by the
A
Assembler
B
Compiler
C
Linker
D
Preprocessor
Explanation: 

Detailed explanation-1: -Macros allow you to write commonly used PL/I code in a way that hides implementation details and the data that is manipulated and exposes only the operations. In contrast with a generalized subroutine, macros allow generation of only the code that is needed for each individual use.

Detailed explanation-2: -Preprocessing manipulates the text of a source file, usually as a first phase of translation that is initiated by a compiler invocation. Common tasks accomplished by preprocessing are macro substitution, testing for conditional compilation directives, and file inclusion.

Detailed explanation-3: -The #define directive is used to define macros. Macros are used by the preprocessor to manipulate the program source code before it is compiled.

There is 1 question to complete.