push() and pop() functions are found in
2025
push() and pop() functions are found in
- A.
queues
- B.
lists
- C.
stacks
- D.
trees
Attempted by 1189 students.
Show answer & explanation
Correct answer: C
Answer : C
Explanation
Stack uses push() to insert an item in stack, and pop() to remove the top item from stack.