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 the full form of ios?

986


C is to C++ as 1 is to a) What the heck b) 2 c) 10

1006


What is c++ iterator?

1054


What is constructor and destructor in c++?

1058


Describe private, protected and public?

1038


Difference between delete and free.

1024


What is pure virtual function?

1021


Define stacks. Provide an example where they are useful.

951


what Is DCS ? what i will get benefit when i did?

2304


How compile and run c++ program in turbo c++?

1113


Is set c++?

953


What is oop in c++?

1033


Why do you use the namespace feature?

1044


What is a static element?

1016


What is flush () in c++?

1035