Computer Science, asked by nayankalasha2222, 7 months ago

Which of the following instructions is used with stack operation?​

Answers

Answered by venillaraj999
1

Answer:

In a stack, push, pop instruction are used.

Stack is amount of program (RAM) memory normally allocated at the top of CPU memory heap and grow (at push instruction the stack pointer is decreased) in opposite direction. A standard term for inserting into stack is push and for remove from stack is pop.

A stack is an abstract data type that serves as a collection of elements, with two principal operations: push, which adds an element to the collection. pop, which removes the most recently added element that was not yet removed.

Similar questions