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

Hi ashutosh,
This technique is used to swap numeric values without using
3rd vaariable not for strings .
We can do it by using binary shift operators.

Is This Answer Correct ?    8 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to find the Fibonacci series recursively.

1023


Can notepad ++ run c++?

1002


What is the difference between #define debug 0 and #undef debug?

1125


What are the differences between the function prototype and the function defi-nition?

1042


What is singleton class in c++?

984


What is the identity function in c++? How is it useful?

993


Explain what are mutator methods in c++?

1064


Should the this pointer can be used in the constructor?

970


How are virtual functions implemented in c++?

1014


What are different types of loops in c++?

1070


Is c++ a good beginners programming language?

1011


What is implicit conversion/coercion in c++?

1354


In c++, what is the difference between method overloading and method overriding?

1071


Why is it called c++?

974


What is the use of setprecision in c++?

947