void reverse();
The member function reverses the order in which elements appear in the controlled sequence.