Syntax:
#include <vector> void pop_back();
The pop_back() function removes the last element of the vector.
pop_back() runs in constant time.
Related Topics: back, erase, push_back