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 / sivaraj

Is the Answer 1 posted by ashutosh works for nagative numbers ?
best answer :

a=a^b;
b=a^b;
a=a^b;

Is This Answer Correct ?    7 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many namespaces are there in c++?

1071


What is guard code in c++?

1167


What is a constant reference?

1073


How the keyword struct is different from the keyword class in c++?

1037


What are the uses of static class data?

1183


Explain differences between new() and delete()?

1092


Why do we learn c++?

962


Specify different types of decision control statements?

850


How do you sort a sort function in c++ to sort in descending order?

990


Are iterators pointers?

1148


What is input operator in c++?

1034


How does a C++ structure differ from a C++ class?

1120


Where do I find the current c or c++ standard documents?

1087


What are proxy objects in c++?

1179


What are the manipulators in c++?

1038