string swap « String « C++






1.Using string.swap function to swap two strings