Syntax:
#include <algorithm> void reverse( iterator start, iterator end );
The reverse() algorithm reverses the order of elements in the range [start,end).
Related Topics: reverse_copy