Computer Science, asked by tejaswikchowd, 1 year ago

what is the meaning of stack

Answers

Answered by lfstone3
2
A stack is a kind of data structure that is used to store a collection of objects; objects are stored using push operation and objects are retrieved using pop operation.
Answered by kvnmurty
3
A stack is an abstract data structure that is used to store data (in main memory) in a particular method.  It is a way of organizing memory.

It is like a narrow box or bin. You can add books to it from the top one by one and you can only remove books from top one by one. The other end is closed.

It is also like a pile of books or bricks on a table.

It is used in computer science, for implementation of evaluation of functions and  evaluation of recursive expressions.  It is used by the computer or calculator while find the result of any arithmetic expression like:  3 + 9 - 38 + 8*9 + (9/4)².


Similar questions