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

What do you mean by function and operator overloading in c++?

0 Answers  


What problems might the following macro bring to the application?

0 Answers  


what is the basic concept of c++(object oriented programing)

4 Answers   Wipro,


What is const pointer and const reference?

0 Answers  


What is the difference between reference type and pointers.

4 Answers   HCL,






In which memory a class gets stored(in heap /in stack)? And why??

2 Answers  


How do you decide which integer type to use?

0 Answers  


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

0 Answers  


Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

0 Answers  


Which software is used for c++ programming?

0 Answers  


Can a constructor return a value?

0 Answers  


Why null pointer is used?

0 Answers  


Categories