• Linking of C program includes the following steps:
  1. Create a C-Program source file using any standard editor such as Turbo C or Turbo C++.
  2. Compile source file using C compiler.
  3. Modify program source code if any error is found else it will generate an object code after successful compilation.
  4. System library files are linked during linking process. It will generate an executable code after linking step.
  5. Verify if any logical or data error is available during the execution of a program. Modify the source code if any logical is found and recompile source file.
  6. If there is data error, execute program using valid data.
  7. If everything is OK, it will provide correct output.

Compilation and linking of a C program