If the elements A, B, C and D are pushed onto a stack in this order, which element will be popped first?
Options
- A. A
- B. B
- C. D
- D. More than one of the above
- E. None of the above
Quiz Practice:
C. D
Correct Answer: C. D
Explanation: Stack follows the LIFO (Last In, First Out) principle.