diff --git a/C++/swapTwoString.cpp b/C++/swapTwoString.cpp new file mode 100644 index 00000000..fd814e00 --- /dev/null +++ b/C++/swapTwoString.cpp @@ -0,0 +1,19 @@ +#include +#include +#include +using namespace std; + + + + +int main() { + string a; + cout<<"Enter the String 1"<>a; + string b; + cout<<"Enter the String 2"<>b; + swap(a,b); + cout<