There are 2 types of function.
- Library Functions
- User Defined Functions
main is an example for User Defined Funtions. main is a specially recognized funtion in C. Every program must have a main funtion to indicate the program where to begin to execution.
A program can have any other user defined functions along with main, but main is the funtion which starts to execution first.
All parts of user defined function are not essential, some of them can be absent. (For examle:Argument List)