What is the purpose of main( ) function?
Main function is to be called when the program getting started. 1.It is the first started function. 2.Returns integer value. 3.Recursive call is allowed for main() also. 4.it is user-defined function 5.It has two arguments: 5.1)argument count 5.2) argument vector(strings passed) 6.We can use any user defined name as parameters for main(),behalf of argc and argv.