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 return value must conversion operators have in their declaration?

0 Answers  


What is the keyword auto for?

0 Answers  


Explain operator overloading.

0 Answers  


What are the advantages of using typedef in a program?

0 Answers  


Incase of a function declaration, what is extern means?

0 Answers  


Define token in c++.

0 Answers  


How do you compile the source code with your compiler?

0 Answers  


Is c++ fully object oriented?

0 Answers  


What is searching? Explain linear and binary search.

0 Answers  


Is c++ a low level language?

0 Answers  


What is an inclusion guard?

0 Answers  


Differentiate between structure and class in c++.

0 Answers  


Categories