why does the execution of a c++ program start with main()???
Answers were Sorted based on User's Feedback
Answer / 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 |
What is stl in oop?
give me the defination of inheritance?
Write a program in C++ returning starting locations of a substring using pointers
how to get the sum of two integers?
totoo po ba ang manga aliens!
How does an stl file work?
Is there any error below, its a code to delete all entires from a map #include <map> #include iostream.h int main() { int i =0; map <int, char> TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map<int, char> :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }
How the STL's are implemented, What the difference between templates and STL?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
Is stl part of c++ standard?
Define stl.
write a program to demonstrate,how constructor and deconstructor work under multilevel inheritance