Sorting of items on a stack
Sorting of items on a stack.
LIFO. Items are added or deleted from one end. TOP is a pointer to the last location to which an item was placed. To delete check for empty stack then
CAT2 write a c++ program that accepts a decimal number to display the binary statement. To [email protected] .
Instructions: how to create a stack.
How do u pop, check if the stack is empty.
Push function
Submit as a soft copy.