The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+15 votes
1.3k 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 (59.6k points)
edited by | 1.3k views

1 Answer

+22 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 Active (3.4k points)
edited by
+1
Even I think answer is b

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

Option e is more specific . Please see it.
+7

@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.

0
what does c option means here?
0
who will perform option c

Related questions



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

41,053 questions
47,651 answers
147,206 comments
62,380 users