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 full form of c++?
What is type of 'this' pointer?
Which is the best c++ compiler?
What you know about structures in C++?
Can we use clrscr in c++?
Explain shallow copy?
Describe delete operator?
What are the advantages of using friend classes?
Do you need a main function in c++?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
Explain the isa and hasa class relationships.
What is recursion?
Explain how functions are classified in C++ ?
Do the names of parameters have to agree in the prototype, definition, and call to the function?