C - Running, Compilation and Execution
Running a C Program
➢ Type a program
➢ Save it
➢ Compile the program – This will
generate an exe file (executable)
➢ Run the program (Actually the exe
created out of compilation will run and not the .c file)
➢ In different compiler we have different
option for compiling and running. We give only the concepts.
Compilation and Execution :
As like most high-level languages, C also uses
compiler to convert its source code
(files with the extension .c) to object code (files with the extension .obj) and the object code will be
link edited by the linker to form the
machine language also known as executable code (files with the extension
.exe ).
Comments
Post a Comment