Exam-style question
Try this first
Which operation removes an item from a stack?.
- A.Enqueue
- B.Dequeue
- C.Push
- D.Pop
Answer and explanation
Concise answer
Pop
Why this is correct
Pop removes the item at the top of a stack. Push adds an item to the top. Enqueue and dequeue are associated with queues.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
