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