However, the main() function is a special function in C with the following special properties:
- main() cannot be called by any other function.
- main() is activated as the first function called when the program is invoked to begin execution.
- When we return from the main() function, execution stops and the program is terminated.
- There are only two forms of the main() function prototype:
- Has no arguments at all
- Has exactly two arguments—an int value and a char* array
We will explore the second form of the main() functionin this chapter.