rotate_copy « STL Algorithms Modifying sequence operations « C++






1.Use rotate_copy to print elements rotated one element to the left
2.Use rotate_copy to print elements rotated two elements to the right
3.Use rotate_copy to print elements rotated so that element with value 4 is the beginning