0 votes
92 views
in C program by (98.9k points)
edited

What is a stack?

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer
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.

Related questions

0 votes
1 answer 167 views
0 votes
1 answer 150 views
0 votes
1 answer 137 views
0 votes
1 answer 255 views
+1 vote
1 answer 97 views
asked Jun 18, 2022 in C program by laxman Ji (3.4k points)
0 votes
1 answer 91 views
asked May 14, 2022 in C program by Doubtly (98.9k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

561 users

...