Notifications
Clear all

[Solved] Process of inserting an element in stack is called___?

0
Topic starter

A. Create
B. Push
C. Evaluation
D. Pop

View Answer

B. Push

 

Explanation:

A stack is a data structure that follows the Last-In-First-Out (LIFO) order of sequence. In simple terms, it means that the element which has been inserted into the stack most recently will be taken out of it first by the stack when asked to do so. Hence, these data structures are also called LIFO lists in computer science . The process of inserting an element into a stack is called ‘pushing’ and extracting an element from the stack is called ‘popping’ it out.

iubians