What is a compilation? C is a programming language that converts source code into object code or machine code. The conversion process has four steps: Pre-processing, Compiling, Assembling, and Linking. The preprocessor eliminates all the comments from the source code and carries out the preprocessor directives. For instance, it substitutes the directive <stdio.h> with the contents of the 'stdio.h' file. The following are the phases through which our program passes before being transformed into an executable form: Preprocessor Compiler Assembler Linker Preprocessor A source code file is a text file that contains instructions written in the C programming language. The file name has a ".c" extension to indicate its format. Before compiling the source code, a preprocessor analyzes and modifies i...
Comments
Post a Comment