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

What is constructor in C++?

0 Answers  


What are the two types of polymorphism?

0 Answers  


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

0 Answers  


What is a c++ vector?

0 Answers  


What is the difference between function overloading and operator overloading?

0 Answers  


Difference between an inspector and a mutator

0 Answers  


How to avoid a class from instantiation?

8 Answers   Symphony,


What is #include iostream?

0 Answers  


describe private access specifiers?

0 Answers  


Why is c++ a mid-level programming language?

0 Answers  


What is the use of data hiding?

0 Answers  


Explain shallow copy?

0 Answers  


Categories