0 votes
in C Plus Plus by

What is the method to save data in a stack data structure type?

1 Answer

0 votes
by

Data is stored in Stack data structure type using First in Last out (FILO) mechanism. Only top of the stack is accessible at a given instance. Storing mechanism is referred to as a PUSH and retrieve is referred as a POP.

Related questions

0 votes
asked Jul 13, 2022 in Go Semantics Supplemental by john ganales
0 votes
asked Jun 4, 2020 in Data Handling by SakshiSharma
...