can you think of a condition where your program


Can you think of a condition where your program would crash without attaining the breakpoint that you set at the starting of main()?

A: C++ let for dynamic initialization of global variables before main() is invoked. This is possible that initialization of global will invoke some of function. If this function crashes the crash will take place before main() is entered. Name two cases in which you MUST use initialization list as opposed to assignment in constructors. Non-static const data members and reference data members both cannot be assigned values; rather then, you must use initialization list to initialize them.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: can you think of a condition where your program
Reference No:- TGS0218255

Expected delivery within 24 Hours