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
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Why do we use main function?
What is the difference between Printf(..) and sprint(...) ?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
How can I list all of the predefined identifiers?
Why pointers are used in c?
What is malloc() function?
How can I manipulate individual bits?
Can we compile a program without main() function?
Differentiate between Macro and ordinary definition.
What are the different types of pointers used in c language?
Is array a primitive data type in c?
How can I sort a linked list?
What is zero based addressing?
Differentiate between full, complete & perfect binary trees.