What will be the sequence of numbers, if the following operations are…
UP Police Computer Operator Grade A · 2016 · Computer Operator Grade A · 19 May 2016 Shift 2 · Computer Science
What will be the sequence of numbers, if the following operations are performed on a Stack? push(5), push(7), pop(), push(8), push(6), pop(), pop(), pop()
- A.
5, 8, 6, 7
- B.
7, 6, 5, 8
- C.
6, 7, 8, 5
- D.
7, 6, 8, 5
Attempted by 521 students.
Sign up free to check your answer
Sign up freeLoading lesson…