If the following operations are done on a stack, then what will be the…
UP Police Computer Operator Grade A · 2016 · Computer Operator Grade A · 19 May 2016 Shift 1 · Computer Science
If the following operations are done on a stack, then what will be the sequence of institutions?
push(4). push(9). pop (). push (5) . pop (). pop ()
- A.
9, 5, 4
- B.
4, 9, 5
- C.
4, 5, 9
- D.
5, 9, 4
Attempted by 524 students.
Sign up free to check your answer
Sign up freeLoading lesson…