Open In App
Related Articles

UGC-NET | UGC NET CS 2016 July – II | Question 22

Improve Article
Save Article
Like Article

Consider the following operations performed on a stack of size 5 : Push (a); Pop() ; Push(b); Push(c); Pop(); Push(d); Pop();Pop(); Push (e) Which of the following statements is correct?


Underflow occurs


Stack operations are performed smoothly


Overflow occurs


None of the above

Answer: (B)


All Stack operations are performed smoothly. So, option (B) is correct.

Quiz of this Question
Please comment below if you find anything wrong in the above post

Last Updated : 19 Apr, 2018
Like Article
Save Article
Similar Reads