Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
|
This is a modular generic stack data-structure. The stack is self growing.
You need to only import the stack.h
Initializes the stack with a capacity of 10 elements.
pushs the argument onto the stack
pop: pops the top element of the stack from the stack.
assumes: stack not empty.
gets the number of elements of the stack.
returns 1 if stack is empty otherwise 0.