A program written in C language has a fixed structure. The structure of C Program is as follows:
This section consists of comments, some description of the program, name of the programmer and any other useful points that can be referenced later.
This section provides instruction to the compiler to link function from the library functions.
This section defines all the symbolic constants.
Global Declaration Section
This section consists of all the function declaration and global variables.
main ( ) Function Section
Every C program must have a main ( ) function which is the starting point of the program execution.
This section contains all the user-defined functions.
Click here to download the PDF file.