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
How stl is different from the c++ standard library?
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 is a list in c++ stl?
Who created stl?
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
Explain stl.
What is a standard template library (stl)? What are the various types of stl containers?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
What are the various types of stl containers?
What is stl stand for?
How do I convert a stl file?
What is stl in c++ with example?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
totoo po ba ang manga aliens!
How is stl different from c++ standard library?