C++ examples for STL Algorithm:swap_ranges
Click the following links for the tutorial for STL Algorithm and swap_ranges.