Can you think of a situation where your program would crash without reaching the breakball, which you set at the beginning of main()?



Can you think of a situation where your program would crash without reaching the breakball, which yo..

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

Post New Answer

More C++ General Interview Questions

Why do we use iterators?

0 Answers  


Define the process of error-handling in case of constructor failure?

0 Answers  


What is difference between shallow copy and deep copy? Which is default?

1 Answers  


what is a class? Explain with an example.

0 Answers  


What operators can you overload in c++?

0 Answers  






What is insertion sorting?

0 Answers  


Which compiler does turbo c++ use?

0 Answers  


Is ca high or low level language?

0 Answers  


How should runtime errors be handled in c++?

0 Answers  


What are the rules for naming an identifier?

0 Answers  


Shall we use 'free' to free memory assigned by new, What are the further consequences??

5 Answers   Symphony,


What is a tree in c++?

0 Answers  


Categories