1.

In Which Situation The Program Terminates Before Reaching The Breakpoint Set By The User At The Beginning Of The Mainq Method?

Answer»

In C++, the initialization of VARIABLES is ALLOWED before the calling of the main() METHOD. If a function is invoked by the GLOBAL variable's initialization and termination is done, then it RESULTS in the error before entering of the main() method.

In C++, the initialization of variables is allowed before the calling of the main() method. If a function is invoked by the global variable's initialization and termination is done, then it results in the error before entering of the main() method.



Discussion

No Comment Found