Hemanica is interested in developing word game which accepts two strings into two variables then swaps the strings of the variables and print it. Test Case 1 Input (stdin) arun kumar Expected Output kumar arun Test Case 2 Input (stdin) saran raj Expected Output raj saran
#include <iostream>
using namespace std;
int main()
{
char a[10];
char b[10];
cin>>a>>b;
cout<<b<<" "<<a;
return 0;
}