Once the program is completed, the program is feed into the computer using the compiler to produce equivalent machine language code. In C program compilation there are 2 mechanisms.
1.Compiler
2.Linker.
The compiler receives the source file as input and converts that file into object file. Then the Linker receives the object file as its input and linking with C Libraries. After linking it produces an executable file for the given code. After creation of executable file, then start the program execution and loads the information of the program execution and loads the information of the program into primary memory through 'Loading Process'. After loading the information the processor processing the information and gives output.
Next Topic : Structure of C Program
Previous Topic : C Language Introduction
No comments:
Post a Comment