Execution of Program
There are
many steps involved in converting a C program into an executable form.
1.
Pre-processing
2.
Compilation
3.
Assembling
4.
Linking
5.
Loading
The
following flowchart shows the flow of the execution
Pre-processor::
In this step, the C source code is expanded based on the pre-processor directives like #define, #include, #ifdef, etc.
It will eliminate new lines, spaces, comments, and header files from the program.To know about it follow the below link,
link:: Pre-processor
The expanded source code is stored in an intermediate file with the ".i" extension.
Hence, if our source code is stored in PR1.C then expanded source code is stored in PR1.I.
3 Comments
It was useful...nice initiative...keep it up..bless you
ReplyDeleteGood representation
ReplyDeleteNice presentation and very helpful for beginners.....
ReplyDeleteLearn C with examples
Basic C programming examples
C pattern programming examples
C Arrays examples
Loops in C examples
Post a Comment