The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+14 votes
903 views

Choose the correct alternatives (more than one may be correct ) and write the corresponding letters only

A “link editor” is a program that:

  1. matches the parameters of the macro-definition with locations of the parameters of the macro call
  2. matches external names of one program with their location in other programs
  3. matches the parameters of subroutine definition with the location of parameters of subroutine call.
  4. acts as a link between text editor and the user
  5. acts as a link between compiler and the user program
asked in Compiler Design by Veteran (68.8k points)
edited by | 903 views

1 Answer

+19 votes
Best answer

Link editor or (linker ) performs 

  1. external symbol resolution 
  2. relocation.

ANS: B 

Matches external names of one program with their location in other programs

answered by Loyal (3.4k points)
edited by
Even I think answer is b

Which is the correct one
why not e ?
@bikram sir

Option e is more specific . Please see it.

@hem chandra joshi  User program  jorney:-

Source program -> preprocessor ->compiler-> Assembler->Linker-> Loader -> Exectution 

So,you see why e is false.Please let me know for any corrections.



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

32,620 questions
39,267 answers
109,737 comments
36,655 users