Main Function in C

There must be at least one function in any C source code. This is called as Main() and is a mandetory requirement of C language. This is the entry point of any C program. From main() function the code execution flows as per the programmer’s chosen custom functions. There may or may not be other functions written by user in a program.