search
Q: The following sequence of the operations is performed on a stack PUSH (10), PUSH(20), POP, PUSH(10), PUSH(20), POP the sequence of values popped out is/j
  • A. 20, 10, 20, 10, 20
  • B. 20, 20, 10, 10, 20
  • C. 10, 20, 20, 10, 20
  • D. 20, 20, 10, 20, 10
Correct Answer: Option B -
answer image

Explanations:

explanation image