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 |
How do you flush a buffer in c++?
How can you find the nodes with repetetive data in a linked list?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
How can you specify a class in C++?
What is the difference between public, private, protected inheritance?
What is an incomplete type?
Difference between delete and free.
What is the difference in size of this two clasees? Class A { int a; char c; float f; } Class B { float f; char c; int a; }
What would happen on forgetting [], while deallocating an array through new?
what is the emaning of '#include" "'?
Define precondition and post-condition to a member function?
What are the differences between public, private, and protected access?
12 Answers IBM, Oracle, Wipro,