INTRODUCTION TO COMPILER DESIGN
KEY COMPONENTS OF A COMPILER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which component of a language preprocessor solves external memory addresses?
|
Loader
|
|
Interpreter
|
|
Linker
|
|
Assembler
|
Explanation:
Detailed explanation-1: -Summary of compile and link So the basic process for a compile and link of a C program is: preprocessor utility generates the C source to be compiled. compiler compiles the C source into object code generating a set of object files. linker links the various object files along with any libraries into executable file.
Detailed explanation-2: -A compiler takes our source code and generates the corresponding assembly code. An assembler converts the assembly code to the machine code. A linker merges all the machine-code modules referenced in our code, whereas a loader moves the executable to RAM and lets it be executed by a CPU.
There is 1 question to complete.