Can you think of a situation where your program would crash without reaching the breakball, which you set at the beginning of main()?
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 |
How can we read/write Structures from/to data files?
What are the total number of lines written by you in C/C++? What is the most complicated or valuable program written in C/C++?
what is multi-threading in C++?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
Can I learn c++ without c?
which is the easy way to divide any integer by 2?
What are compilers in c++?
What do you mean by global variables?
Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.
16 Answers BNB, FDS, Goldman Sachs, Nagarro,
Is java the same as c++?
What do you mean by pure virtual functions in C++? Give an example?
Describe the main characteristics of static functions?