void pop();
The member function removes the last element of the controlled sequence, which must be non-empty.
See the related sample program.