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 |
how to making game in c++ ?
WHAT IS THE DIFFERENCE BETWEEN C++ AND VC++
write a program that input four digit no and finds it is palindrome or not
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
Write a program in C++ to concatenate two strings into third string using pointers
how to get the sum of two integers?
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
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; }
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
what is the difference between thread and process
Is string part of stl?
Explain when u will use Observer pattern and how u will implement in c++ .