0 votes
346 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 417 views
0 votes
1 answer 419 views
0 votes
1 answer 437 views
0 votes
1 answer 553 views
+1 vote
1 answer 352 views
asked Jun 18, 2022 in C program by laxman Ji (3.4k points)
0 votes
1 answer 308 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!

Recent Badges

Doubtly Earned a badge
Doubtly Earned a badge
Doubtly Earned a badge

5.7k questions

5.1k answers

108 comments

650 users

...