There is string "aaa bbb cccc eee dddd ffff gggg sss qqq ertdfg"
We have to write a program to swap the alternate values in above string i.e. o/p has to be
"bbb aaa eee cccc ffff dddd sss gggg qqq...