Structure of C++ Program

The program written in C++ language follows this basic structure. The sequence of sections should be as they are in the basic structure. A C-program should have one or more sections but the sequence of sections is to be followed.
Documentation section
Linking section
Definition section
Global declaration section & class declarations
Member function definition
Main function

Read More