how to swap two strings without using any third variable ?

Answer Posted / doesntmatter

" PLEASE DON'T REFER ABOVE THREE SOLUTION BCOZ THEY ARE FOR
INTEGER NOT FOR STRING. "

lol

(c) string -> char * -> pointer -> integer.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is type of 'this' pointer?

801


Explain method of creating object in C++ ?

792


What is the function to call to turn an ascii string into a long?

817


Explain data encapsulation?

866


Write a note about the virtual member function?

789


Who invented turbo c++?

831


What does floor mean in c++?

790


Difference between delete and free.

823


What is setf in c++?

825


Explain the register storage classes in c++.

886


What is the difference between strcpy() and strncpy()?

841


How can I disable the "echo" feature?

821


If there are two catch statements, one for base and one for derived, which should come first?

762


What is pointer in c++ with example?

760


What is the full form of ios?

748