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
Explain pass by value and pass by reference.
How do you define/declare constants in c++?
What is an accessor in c++?
What is runtime errors c++?
What is the difference between a reference and a pointer?
What is the iunknown interface?
Why should you learn c++?
How to access a variable of the structure?
Why is c++ is better than c?
What is data structure in c++?
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
Why is main an int?
What is the use of volatile variable?
What is overloading unary operator?
Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?