What are all the sections that a C program may have and must have?

C Programming Language >   Overview of C Language >   Basic Structure of C Programming  

Long Question

1105


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.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.