The sequence of elements removed from the stack is 20, 10, 40, 30.
Additional Context:
Correct Answer: (3) (B), (A), (D), (C).
List-I (Term) | List-II (Description) |
(A) Prefix | (I) In this, the element entered first will be removed last |
(B) Postfix | (II) In this, the element entered first will be removed first. |
(C) Queue | (III) In this, the operator is placed before the operands. |
(D) Stack | (IV) In this, the operator is placed after the operands. |