why does the execution of a c++ program start with main()???
Answer Posted / anupam
All the ans given above are right. But I think the main
funciton is a userdefined function whose name is fix known
by the compiler. When compiler star compiling the program
then it first read the address from the main function
adddress. So we can say that it is the starting point of
every program from which it execute.
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
sir please send me bpcl previous question papers
If P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula: The population growth rate is given by the formula: B – D Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number of years. The program should then calculate and print the estimated population after n years. Your program must have at least the following functions: 1. growthRate: This function takes its parameters the birth and death rates, and it returns the population growth rate. 2. estimatedPopulation: This function takes its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years Your program should not accept a negative birth rate, negative death rate, or a population less than 2. please answer my question ....
Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister
Define stl.
What is a stl vector?
What is meant by stl in c++?
What are the components of stl?
How stl is different from the c++ standard library?
What are the various types of stl containers?
How do I convert a stl file?
How does an stl file work?
Is there any error below, its a code to delete all entires from a map #include
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.
Why should a c++ programmer be interested in stl?
What is stl in oop?