Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Explain Linker and Loader

Answers were Sorted based on User's Feedback



Explain Linker and Loader..

Answer / anusha.r

The basic job of any linker or loader is simple: it binds
more abstract names to more concrete names, which permits
programmers to write code using the more abstract names.
That is, it takes a name written by a programmer such as
getline and binds it to ``the location 612 bytes from the
beginning of the executable code in module iosys.'' Or it
may take a more abstract numeric address such as ``the
location 450 bytes beyond the beginning of the static data
for this module'' and bind it to a numeric address

Is This Answer Correct ?    19 Yes 3 No

Explain Linker and Loader..

Answer / ashwinishaligram308

Linker is the one which links libraries and loader is the
program which load the proacess in to memory for execution

Is This Answer Correct ?    20 Yes 5 No

Explain Linker and Loader..

Answer / ashutosh

linker is used to attach the source code from library
content, and loader in the component of operatng system.with
the help loader source code load in the memory.

Is This Answer Correct ?    5 Yes 2 No

Explain Linker and Loader..

Answer / vadivel t

Linker is a stage before loader. Linker is a person who is
responsible for linking the different object file and the
outcome will be a executable file. Loader is a person who
reads the content of the executable file and place it into
memory. This code shall be executed when the operating
system control is coming to the loaded program.

Is This Answer Correct ?    9 Yes 7 No

Explain Linker and Loader..

Answer / mubeen riaz

1
down vote
Computers basicly work with binary numbers, people speak their native languages, so, programming languages are for communication between people and computers. If you say: Add 2 and 3 and then substract 1 from it, I doubt that computer would understand anything (maybe in some programming language it would). So, you need to translate your source code into a format that computer understands, so you need a compiler, which translates a programming language to co called object code. But object code is not yet the language a computer understands and executes directly. So it needs a linker which will make an executable file that containts instructions in so called machine language; a machine language is a set of operations coded into binary numbers which processor understands. All binary instructions have it's structure and it's published by a processor manufacturers. You can look for it on say Intel's site and see how do they look like. I can't give a satisfactory answer for loaders at the moment so please search Google as a beginning step.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

Describe the order of precedence with regards to operators in C.

0 Answers  


write a c program to print "Welcome" without using semicolon in the whole program ??

15 Answers   Infosys, TCS,


what is the difference between NULL & NUL keywords in C?

3 Answers  


Should I learn c before c++?

0 Answers  


Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)

1 Answers   NetApp, PTU, Wipro,


What are the application of void data type in c?

0 Answers  


If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.

12 Answers   Google,


#include<stdio.h> main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }

7 Answers   HCL,


how to write a data 10 in address location 0x2000

3 Answers  


main() { int i; printf("%d", &i)+1; scanf("%d", i)-1; }

1 Answers  


can v write main() { main(); } Is it true?

6 Answers  


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

0 Answers  


Categories