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
What is set in c++?
Difference between strdup and strcpy?
Is it possible to use a new for the reallocation of pointers ?
Is it possible to write a c++ template to check for a function's existence?
What are the 3 levels of programming languages?
What is main function in c++ with example?
Why struct is used in c++?
What does namespace mean in c++?
What is difference between c++ 11 and c++ 14?
What is an inclusion guard?
How do you master coding?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
What is meant by the term name mangling in c++?
How does class accomplish data hiding in c++?
What return value must conversion operators have in their declaration?