Which one of the following is the process of inserting an element in the stack?
20232022
Which one of the following is the process of inserting an element in the stack?
Answer: C. Push — Explanation: In a stack data structure, the operation of adding an element is called a push operation. This is a standard term used to describe the insertion…
- A.
Insert
- B.
Add
- C.
Push
- D.
None of the above
Attempted by 2477 students.
Show answer & explanation
Correct answer: C
Explanation: In a stack data structure, the operation of adding an element is called a push operation. This is a standard term used to describe the insertion of an item onto the top of the stack.
Loading lesson…