Can you think of a situation where your program would crash without reaching the breakball, which you set at the beginning of main()?
Answer Posted / 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 |
Post New Answer View All Answers
Is c++ still in demand?
What is namespace std; and what is consists of?
What is anonymous object in c++?
What is a pointer with example?
Will rust take over c++?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
What does catch(…) mean?
What are files in c++?
Write about the role of c++ in the tradeoff of safety vs. Usability?
Difference between Abstraction and encapsulation in C++?
How the keyword struct is different from the keyword class in c++?
What is math h in c++?
What do you understand by pure virtual function? Write about its use?
Describe private, protected and public?
How can we read/write Structures from/to data files?