Execution is the process of running the program, to execute a 'C' program, we need to follow the steps given below.
COMPILATION PROCESS
EXECUTION
OF A C PROGRAM
Execution
is the process of running the program, to execute a 'C' program, we need to
follow the steps given below.
i)
Creating the Program.
ii)
Compiling the Program.
iv)
Executing the Program.
iii)
Linking the Program with System Library.
Creating
the program means entering and editing the program in standard 'C' editor and
save the program with .C as an extension.
This
is the process of converting the high level language program into machine
understandable form (Machine Language). For this purpose Compiler is used.
Usually this can be done in 'C' language by pressing ALT + F9 or choosing
Compile option in the menu system.
Here,
there is a possibility to show errors i.e., Syntax errors, which means the
statements written in program are not in proper syntax.
'C'
Language program is the collection of predefined functions. These functions are
already written in some standard 'C' header files. Therefore before executing a
'C' program, we need to link it with system library. This can be done
automatically at the time of execution.
The
below figure, illustrates the process of creating, compiling and executing a
'C' program.

This
is the process of running and testing the program with sample data. At this
time, there is a possibility to show two types of errors given below.
a)
Logical Errors: These are the errors, in which the
conditional and control statements cannot end their match after some sequential
execution.
b)
Data Errors: These are the errors, in which the
input data given is not in a proper syntax as specified in input statements.
Usually,
executing the program can be done by pressing CTRL + F9 or choose Run option
from the menu system.
Computer Programming C: UNIT I: Introduction to C : Tag: Computer Science : - Compilation Process and Execution of C Programming
Computer Programming C
CS25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
English Essentials I
EN25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
தமிழர் மரபு - Heritage of Tamils
UC25H01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Applied Calculus
MA25C01 Maths 1 M1 - 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Applied Physics I
PH25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Applied Chemistry I
CY25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Makerspace
ME25C04 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Computer Programming C
CS25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Computer Programming Python
CS25C02 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Fundamentals of Electrical and Electronics Engineering
EE25C03 1st Semester EEE Depart | 2025 Regulation | 1st Semester 2025 Regulation
Introduction to Mechanical Engineering
ME25C03 1st Semester Mechanical Dept | 2025 Regulation | 1st Semester 2025 Regulation
Introduction to Civil Engineering
CE25C01 1st Semester Civil, Agri Departments | 2025 Regulation | 1st Semester 2025 Regulation
Essentials of Computing
CS25C03 1st Semester - AIDS, CSE, CSE(CY), IT Department | 2025 Regulation | 1st Semester 2025 Regulation
Applied Physics I Laboratory
PH25C01 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Applied Chemistry I Laboratory
CY25C01 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Computer Programming C Laboratory
CS25C01 1st Semester EEE, ECE, CSE, CSE(CY), AIDS, IT practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Computer Programming Python Laboratory
CS25C02 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Engineering Drawing
ME25C01 EEE, Mech, Agri, EEE Depts | 2025 Regulation | 2nd Semester 2025 Regulation
Basic Electronics and Electrical Engineering
EE25C04 1st Semester ECE Dept | 2025 Regulation | 1st Semester 2025 Regulation
Essentials of Computing - Laboratory
CS25C03 1st Semester AIDS, CSE, CSE(CY), IT Depts | practical Laboratory Manual | 2025 Regulation | 1st Semester 2025 Regulation