COMPILER DESIGN

INTRODUCTION TO COMPILER DESIGN

COMPILATION PROCESS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
At the linking stage ____
A
Code from the linked library is copied into the program
B
Code from the linked library is removed from the program
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Static linking is the result of the linker copying all library routines used in the program into the executable image. This may require more disk space and memory than dynamic linking, but is more portable, since it does not require the presence of the library on the system where it runs.

Detailed explanation-2: -The assembler output is stored in an object file. Linking is the final stage of compilation. It takes one or more object files or libraries as input and combines them to produce a single (usually executable) file.

There is 1 question to complete.