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 ?

Answers were Sorted based on User's Feedback



how to swap two strings without using any third variable ?..

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

More C++ General Interview Questions

Refer to a name of class or function that is defined within a namespace?

0 Answers  


What is a block in c++?

0 Answers  


What is a binary file? List the merits and demerits of the binary file usagein C++.

0 Answers  


how to find the maximum of 10 numbers ?

5 Answers  


What are guid? Why does com need guids?

0 Answers  


What are the new features that iso/ansi c++ has added to original c++ specifications?

0 Answers  


What is slicing?

1 Answers  


What is c++ namespace?

0 Answers  


What are features of c++?

0 Answers  


Can we use resume in error handling i.e. in the catch block

5 Answers   Infosys,


What is meant by const_cast?

0 Answers  


What is an associative container in c++?

0 Answers  


Categories