Write down the steps of executing a C program.



These steps are in C programming language
Creating and Editing
Compiling
Linking
Executing program

Creating and Editing: Writing or creating and editing source program is a first step in c language. Source code is written in c programming language according to the type of problem or requirement, in any text editor.

Compiling: 
Computer does not understand c programming language. It understands only 0 and 1 means machine language. So c programming language code is converted into machine language. The process of converting source code in to machine code is called compiling.

Linking: 
There are many built-in library functions available in the c programming language. These functions are stored in different header files.

Executing program: 
Execution is the last step. In this step program starts execution. Its instructions start working and output of the program display on the screen.

No comments:

Post a Comment