So I had posted a thread here called "Exception Handling" asking for help excuting this program. Then I discovered CodePad! ( So if any of the moderators could help me delete that thread it will be great! )
So I cleared up most of my errors. And I got an output. But I seem to getting a garbage value towards the end.
The objective is basically to handle "stack full" and "stack empty errors". So I push 3 values and I pop 4 values so that I can handle the error using try-throw-catch paradigm.
I'll post my Codepad Link here. Please help!