swapping
Hi friends, How to swap two strings without using if condition.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Jan 19, 2010, 4:49 PM
string1 = string2;
string2 = stringtemp;