What is the purpose of main () function in C?

When the operating system runs a program in C, it passes control of the computer over to that program.

For More Information Please Refer: https://www.dummies.com/programming/c/the-importance-of-the-main-function-in-c-programming/