1.

What do you understand about Stack Unwinding in C++?

Answer»

Stack Unwinding is the process of eliminating function ENTRIES from the function CALL stack at runtime. EXCEPTION Handling is often ASSOCIATED with Stack Unwinding. When an exception occurs in C++, the function call stack is searched linearly for the exception handler, and any entries before the function with the exception handler are deleted from the function call stack. If the exception is not handled in the same code, stack unwinding is REQUIRED (where it is thrown).



Discussion

No Comment Found