What do you mean by Stack unwinding?
Answer / harendra pal
It is a process during exception handling when the destructor is called for all local objects between the place where the exception was thrown and where it is caught.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is pointer with example?
What is pointer in c++ with example?
How would you call C functions from C++ and vice versa?
What is a set in c++?
Explain "const" reference arguments in function?
What do you understand by pure virtual function? Write about its use?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
What is a smart pointer?
What is basic if statement syntax?
What are the two shift operators and what are their functions?
What is function overloading in C++?
What is flush () in c++?