Skip to content

KalyanVem/Stack-Implementation-In-C-Using-arrays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

A stack is an abstract data type.The stack contains two main operations PUSH and POP. Push inserts an element to the top of the stack whereas pop eliminates the element that is on the top of the stack. This is depicted as LAST IN FIRST OUT. Yes, the last element that enters the stack by using push operation is the one which gets eliminated by the pop operation. This can be easily understood from the below Image. I have rote a fe line of cod in C to depict the above function.

About

A simple lines of C code that shows how a stack works.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages