main() function is the entry point of any C program. It is the point at which execution of program is started. When a C program is executed, the execution control goes directly to the main() function. Every C program have a main() function.
For More Information Please Refer: https://www.sitesbay.com/cprogramming/c-main-function