why main function is special in c++

0 votes
226 views
asked Jul 7, 2014 in C++ by anonymous
recategorized Jul 7, 2014 by admin
Hi

  why main function is special in c++

1 Answer

0 votes
answered Jul 7, 2014 by kalpana (3,995 points)

Hi

   Whenever a C++ program is executed, execution of the program starts and ends at main(). The main is the driver function of the program. If it is not present in a program, no execution can take place.

...