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

When we use Abstract Class and when we use Interface?where we will implement in real time?

2156


What is c++ try block?

1015


What are the extraction and insertion operators in c++? Explain with examples.

1123


Program to check whether a word is a sub-string or not of a string typed

1993


Can I uninstall microsoft c++ redistributable?

1067


Can we use clrscr in c++?

1052


What is the full form of c++?

1291


Write my own zero-argument manipulator that should work same as hex?

1012


Define Virtual function in C++.

1059


What is c++ flowchart?

1349


What is problem with overriding functions?

1028


What do you mean by function pointer?

1072


Differentiate between an inspector and a mutator ?

1176


Who made c++?

1034


Can we define a constructor as virtual in c++?

1097