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 are literals in C++?
What are vtable and vptr?
What do you mean by enumerated data type?
Difference between a homogeneous and a heterogeneous container
Define private, protected and public access control.
What is a base class?
What is the basic structure of c++ program?
What is a Default constructor?
What are punctuators in c++?
Define basic type of variable used for a different condition in C++?
What are c++ variables?
What are function prototypes?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?
How do you clear a set in c++?
What is private inheritance?