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
What is the equivalent of Pascal's Real a) unsigned int b) float c) char
Give 10 points of differences between C & C++.
Write a recursive program to calculate factorial in c++.
If you don’t declare a return value, what type of return value is assumed?
Explain rtti.
What operator is used to access a struct through a pointer a) >> b) -> c) *
What does ctime() do?
Is c++ high level programming language?
Write about the members that a derived class can add?
Why is polymorphism useful?
What's the order in which the local objects are destructed?
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
Which software is best for coding?
When should we use multiple inheritance?
Which ide is best for c++?