Skip to main content

Simple Stack Program in C++

· One min read

Definition:

A stack is a data structure in which addition of new elements or deletion of existing elements takes place at the same end.

Principle:

Stack works on the LIFO - Last In First Out principle

Program: https://gist.github.com/nagvbt/1bc930d01d113cb75a10