Can you think of a situation where your program would crash without reaching the breakball, which you set at the beginning of main()?
Answer / neelam saini
C++ allows for dynamic initialization of global variables before main() is invoked. It is possible that initialization of global will invoke some function. If this function crashes the crash will occur before main() is entered.
| Is This Answer Correct ? | 0 Yes | 0 No |
Define precondition and post-condition to a member function?
Is structure can be inherited?
Can non-public members of another instance of the class be retrieved by the method of the same class?
Does dev c++ support c++ 11?
Why do we use classes in programming?
When should we use container classes instead of arrays?
Is java a c++?
What is the full form of india?
Where and why do I have to put the "template" and "typename" keywords?
What are the new features that iso/ansi c++ has added to original c++ specifications?
What is searching? Explain linear and binary search.
Out of fgets() and gets() which function is safe to use?