Explain Linker and Loader

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what is uses of .net

1264


Why is c called c?

615


What are the features of c languages?

616


how can f be used for both float and double arguments in printf? Are not they different types?

600


Where are some collections of useful code fragments and examples?

702






Write a program to check palindrome number in c programming?

589


What is an endless loop?

793


Tell me what are bitwise shift operators?

648


How is actual parameter different from the formal parameter?

583


What are the 5 elements of structure?

556


What do you understand by friend-functions? How are they used?

633


What is wrong with this program statement?

600


difference between Low, Middle, High Level languages in c ?

1621


Explain how can I make sure that my program is the only one accessing a file?

612


Explain why C language is procedural?

763