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

What are the important differences between c++ and java?

1163


Define private, protected and public access control.

1133


Explain Text Manipulation Routines?

1096


Does a derived class inherit or doesn't inherit?

1098


How can you tell what shell you are running on unix system?

1126


Which is the best c++ compiler for beginners?

1108


what are the iterator and generic algorithms.

1951


If dog is a friend of boy, is boy a friend of dog?

994


Explain the difference between using macro and inline functions?

1143


What are virtual functions in c++?

1192


What are the 4 types of library?

1188


What is the basic structure of c++ program?

1113


If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?

1043


What are different types of loops in c++?

1137


Can user-defined object be declared as static data member of another class?

1034