why does the execution of a c++ program start with main()???
Answer Posted / brian
Using static class execution can actually begin before main()!
E.g.
class MyStatic
{
public:
MyStatic() { cout << "MyStatic Class called." << endl; };
};
static MyStatic ms;
void main()
{
cout << "main called." << endl;
}
Output : =
MyStatic Class called.
main called.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What two types of containers does the stl provide?
What does stl stand for in basketball?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
What is stl language?
Why should a c++ programmer be interested in stl?
What is stl stand for?
What is stl in c++ with example?
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
Define stl.
To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command
What are stl algorithms?
Name the different types of stl containers.
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.
Is there any error below, its a code to delete all entires from a map #include
Explain stl.