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?
- A.
Insert
- B.
Add
- C.
Push
- D.
None of the above
Attempted by 1220 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.