Introduction:

In this article we will discuss the execution of C or C++ program with real life example. The following diagram shows the execution process of C / C++ program execution:

cpp

Preprocessor

Compiler

Assembler

Linker

Loader

Real Life Example:

real life

Program:

  1. #include < stdio.h >
  2. #include < conio.h >
  3. main()
  4. {
  5. printf("Hello");
  6. getch();
  7. }
Output:

Output

Summary:

This article will help fresher candidates to understand execution of C or C++ program with real life example.