Tuesday, 28 February 2012

Compiling and Linking


C is a programming language developed by AT & T’s Bell Laboratories of USA in 1972. It was designed and written by a man named Dennis Ritchie.
Starting with well known words, “Most good programmers do programming not because they expect to get paid or get admiration by public, but because it is fun to program.” 

During the studies it has been seen that most of the student  knows how to write a code and run them into the program but they do not know the basic behind the programming. Compiling and Linking is the topic that helps to enlighten the basic around the C programming. 
Description: C program code is saved with .C extension (eg.  filename.c). After saving the code, the inbuilt header  files (STDIO.H,CONIO.H) need to be included for using certain predefined  functions. Then, after it is compiled and converted to object file (filename.obj), the library files and inbuilt object files are linked together to form an executable file (filename.exe).
Hope this help to understand basic behind the how C program run.


No comments:

Post a Comment