Basic structure of C program: -
The logic according to witch a program is written is called the structure of the program. The structure of basic C program consists of two main parts. These are:
. Preprocessor Directives
. The main ( ) function
The structure of a C language program will be as:
Main ( )
{
Declaration phase
Input phase
Processing phase
Output phase
}
Every program of C language must be given and to save program with extension .C with its name. It is the name which is given to our work when we save it permanently in computer.
The symbol dot (.) one, two or three character are given differentiate or to specify the name of file with respect to its program.
Posted by: Wasim Javed
No comments:
Post a Comment