Computer Science, asked by rajeshrudrawar94, 2 months ago

Create a binary stack of given input 98,2,48,12,56,32,67,23,87,23,53,46

Answers

Answered by Nancy984
1

Answer:

stack::pop()

stack::pop() is a public member function that is used to remove the top-most element of the stack. Since,there is only one end for insertion and deletion in stack,therefore the element added recently would be on the top of satck,and would be the first to get out of the stack.

Similar questions