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
Write a program to find the Fibonacci series recursively.
Can notepad ++ run c++?
What is the difference between #define debug 0 and #undef debug?
What are the differences between the function prototype and the function defi-nition?
What is singleton class in c++?
What is the identity function in c++? How is it useful?
Explain what are mutator methods in c++?
Should the this pointer can be used in the constructor?
How are virtual functions implemented in c++?
What are different types of loops in c++?
Is c++ a good beginners programming language?
What is implicit conversion/coercion in c++?
In c++, what is the difference between method overloading and method overriding?
Why is it called c++?
What is the use of setprecision in c++?