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 pass by value and pass by reference.

1053


How do you define/declare constants in c++?

1047


What is an accessor in c++?

1070


What is runtime errors c++?

1117


What is the difference between a reference and a pointer?

1105


What is the iunknown interface?

1123


Why should you learn c++?

1016


How to access a variable of the structure?

1086


Why is c++ is better than c?

972


What is data structure in c++?

1142


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

1259


Why is main an int?

988


What is the use of volatile variable?

1081


What is overloading unary operator?

1086


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

1118