What are all the sections that a C program may have and must have?
Long Answer
Views 1000
Answer:
There are many sections in a C program structure. They are,
- Documentation section
- Link Section
- Definition Section
- Global declaration section
- Function prototype declaration section
- Main function
- User defined function section
main() function section is the important section in a C program as program execution starts from main() function only in C language. A C program may not have all other sections except main() function.
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.