Monday, February 22, 2025

Basic Concept of Stack : C data Structure





Basic Concept of Stack : C Data Structure


Definition : Stack is first in last out Structure (LIFO) Structure . 
Explanation : 
  1. Books are kept one above the other
  2. Book which is inserted first is Taken out at last.(Brown)
  3. Book which is inserted Lastly is served first.(Light Green)

Common Example :
  1. Suppose In function all chairs are placed in Vertical Pile.
  2. There are 100 chairs , then Obviously the topmost chair is removed first.
  3. Topmost chair is kept first and same is removed first .
  4. Bottommost chair though kept first,but removed Lastly
  5. In short Newcomer has given Priority than older .

    Image From : dezeen.com

    Tags / Keywords : | ,

    Stumble
    Delicious
    Technorati
    Twitter
    Facebook

    0 Comments:

    Post a Comment

    Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email

     

    Learn C Programming Copyright © 2010 LKart Theme is Designed by Lasantha, Free Blogger Templates