Which operation removes an element from the stack?
2017
Which operation removes an element from the stack?
Answer: B. pop — `pop` removes the top element from a stack.
- A.
push
- B.
pop
- C.
peep
- D.
peek
Attempted by 982 students.
Show answer & explanation
Correct answer: B
`pop` removes the top element from a stack.
Loading lesson…