Compilation Process In C
Hey folks in this article we will explain compilation process in C how does our program is translated to machine code that can be executed in our machine Compilation process What is compilation ? Compilation is a process of converting source code written in high-level languages such as C or C++ into machine language code that can be executed by the processor Compilation process in C can be divided into four stages. Pre-processing Compiling Assembling Linking Pre-processing Stage This step is done using a program called pre-procesor .The pre-procesor takes the source code as an input , remove all comments from the source code and interpret all pre-processing directivese . For example if the pre-procesor find this line in our code #include <studio.h> it replaces this line with content of the file studio.h The pre-procesor generate output files with .i extension to learn more about pre-procesor and pre-processing directivese see this article ....