why does the execution of a c++ program start with main()???

Answer Posted / avtar singh sidhu

The compiler was designed to recognize main as the entry
point in a program. It started that way with C, and C
compilers were just built that way. It's the same way with
C++ and Java just because of habit, consistency, standards,
etc.

Is This Answer Correct ?    28 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stl stand for?

932


What is the stl, standard template library?

815


Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.

1840


Is string part of stl?

937


please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

1991


What is stl stack?

845


What are the components of stl?

849


How connect plc and pc through software

2150


a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.

1580


how to making game in c++ ?

2409


What does stl stand for in basketball?

832


What is stl in c++ with example?

836


How does an stl file work?

856


Describe the My Computer and My Documents folders; identify the elements that are present in every Window.

2080


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

1903