Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

GATE | GATE-CS-2001 | Question 17

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

The process of assigning load addresses to the various parts of the program and adjusting the code and date in the program to reflect the assigned addresses is called
(A) Assembly
(B) Parsing
(C) Relocation
(D) Symbol resolution


Answer: (C)

Explanation:
Relocation of code is the process done by the linker-loader when a program is copied from external storage into main memory.

A linker relocates the code by searching files and libraries to replace symbolic references of libraries with actual usable addresses in memory before running a program.

 
Thus, option (C) is the answer.

 
Please comment below if you find anything wrong in the above post.


Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads