how to swap two strings without using any third variable ?

Answer Posted / ankit sharma

ANSWER 4 IS BEST AND EASIEST SOLUTION.....THANKS BUDDY
PLEASE DON'T REFER ABOVE THREE SOLUTION BCOZ THEY ARE FOR INTEGER NOT FOR STRING.
I RATED 4TH SOLUTION IS 5/5.

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?

562


Eplain extern keyword?

556


What is a linked list in c++?

536


How many static variables are created if you put one static member into a template class definition?

560


Explain method of creating object in C++ ?

585






Why is c++ not purely object oriented?

555


Who was the creator of c++?

552


What are c++ manipulators?

602


What is a wchar_t in c++?

577


How does class accomplish data hiding in c++?

648


What is the difference between reference and pointer?

607


What are references in c++? What is a local reference?

569


When do we run a shell in the unix system?

555


Can a list of string be stored within a two dimensional array?

567


Does c++ have string data type?

682