1. Documentation Section:-
2. Link Section:-
3. Definition Section:-
4. Global Declaration Section:-
5. Main Function Section:-
6. Sub Program Section:-
- Here we can write a set of comment lines
- This includes Title of the Program, Author Name, Company Name, Date of Creation and Other details if any
- Data and summary of the program.
2. Link Section:-
- It is also called Header File Declaration or Include Section
- It Links compiler to functions from System Library (Links Library functions of C)
3. Definition Section:-
- Defines Symbolic Constants
4. Global Declaration Section:-
- Declaring Global Variables – Variables that are accessed by one or more functions are called “Global Variable”
- Prototype declaration of C Functions
- May contain Function Definition
5. Main Function Section:-
- This is the Main Function of all C Programs - (main())
- The program begins from here.
- Main program starts from here
6. Sub Program Section:-
- It has all User-Defined Functions that are called in main ( ) function or other sub functions defined by the user.
- User-defined functions are generally placed immediately after main ( ) function.
No comments:
Post a Comment