There are various steps of the execution of the C program that is given below.
The following step of the execution
- Write source codes
- Link edit
Editor or IDE:
This is the first step while writing the source codes of the program, there must require any editor or IDE (like notepad and notepad++ etc) where we can write own source code and save it by using source codes (.c) and headers ( .h).
In this section, the source code includes the file and replaces the symbols and send to the next section compiler.
In this section, the compiler compiles the source code of the program and creates the object codes (.obj and .o)and sends to the linker.
In this section, the linker links the object codes into static libraries (.dll and .so) and creates the executable code (.exe).
In this section, the loader loads the executable code by using shared libraries (.dll and .so)file and send to the CPU for execution according to user input and return output.