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 numbers with out using temp variable

Answer Posted / arundhati

a^=b^=a^=b;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is diamond problem in c++?

996


How a new element can be added or pushed in a stack?

1018


What is #include sstream?

1062


Which one between if-else and switch is more efficient?

1064


What is stl containers in c++?

1047


What is a hash function c++?

1067


How do I run a program in notepad ++?

1099


What are signs of manipulation?

1065


How to access a variable of the structure?

1083


What does extern mean in a function declaration in c++?

1207


what is data abstraction in C++?

1077


How can I improve my c++ skills?

1128


What is meant by entry controlled loop?

1117


what you know about c++?

1149


What is input operator in c++?

1033