top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is Stack unwinding in context of C++?

+4 votes
251 views
What is Stack unwinding in context of C++?
posted Jan 27, 2015 by Khusboo

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+2 votes
#include <iostream>
#include <stack>

using namespace std;
int main ()
{
        stack<int> mystack;
        mystack.push(10);
        mystack.push(20);
        mystack.top() -= 5;
        cout << mystack.top() << endl;
        return 0;
}
...