Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to swap two strings without using any third variable ?

Answer Posted / mathias karlsson

X = X & Y
Y = X.Substring(&H0, X.Length - Y.Length)
X = X.Substring(X.Length - Y.Length, Y.Length)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is purpose of new operator?

1040


Is eclipse good for c++?

1008


Is facebook written in c++?

966


What is an object in c++?

1185


Is c++ the hardest programming language?

1090


What is the difference between global variables and static varables?

1092


What methods can be overridden in java?

1219


What is setiosflags c++?

926


What is the operator in c++?

1095


Is c++ the hardest language?

954


What is ios class in c++?

1062


how to explain our contribution in the project?

3656


What is general format for a prototype?

997


What is scope in c++ with example?

1069


Which software is used to run c++ program?

968