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

Explain the static storage classes in c++.

1204


How do I exit turbo c++?

1019


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

6351


Is c++ vector a linked list?

955


what are the iterator and generic algorithms.

1920


what are the iterator and generic algorithms.

1890


Can we define function inside main in c++?

960


how to connect with oracle 9i with server in socket program in c/c++

2289


What do c++ programmers do?

1017


what is pre-processor in C++?

1103


what are the iterator and generic algorithms.

2101


What is polymorphism in c++? Explain with an example?

992


C is to C++ as 1 is to a) What the heck b) 2 c) 10

1018


What are namespaces in c++?

1039


Write a program to show polymorphism in C++?

1086