Method ADT.Stack()->pop()
- Method
pop
ElementType
pop(void
|int
val
)- Description
Pops and returns entry
val
from the stack, counting from the top. If no value is given the top element is popped and returned. All popped entries are freed from the stack.