ALL GATE QUESTIONS SUBJECTWISE



GATE 1991 Question - Marks 2

The following sequence of operations is performed on stack:
PUSH (10),PUSH (20),POP,PUSH (10),PUSH (20),POP,POP,POP,PUSH (20),POP
The sequence of the value popped out is:
(a) 20,10,20,10,20
(b) 20,20,10,10,20
(c) 10,20,20,10,20
(d) 20,20,10,20,10


Total 16 Questions



Share: