The following sequence of operations is performed on a stack:

PUSH(50), PUSH(60), PUSH(70), POP, POP, PUSH(80), PUSH(90), PUSH(100), PUSH(110), POP, PUSH(120) PUSH(130), POP, POP, PUSH(140), POP

The sequence of values popped out is:

1
70, 60, 110, 120, 130, 140
2
70, 60, 110, 130, 120, 140
3
60, 70, 110, 130, 120, 140
4
70, 60, 130, 110, 120, 140

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation