What is a stack?

2 years ago
C Programming

A stack is one form of a data structure. Data is stored in stacks using the FILO (First In Last Out) approach. At any particular instance, only the top of the stack is accessible, which means that in order to retrieve data that is stored inside the stack, those on the upper part should be extracted first. Storing data in a stack is also referred to as a PUSH, while data retrieval is referred to as a POP.

0
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions