1.

Why is main function special?

Answer»

C++ program is a collection of functions. Every C++ program must have a main function. The main() function is the starting point where all C++ programs begin their execution. Therefore, the executable statements should be inside the main() function.



Discussion

No Comment Found