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
How many different levels of pointers are there?
What are the uses of pointers?
What is a lambda function c++?
Explain about vectors in c ++?
What is the meaning of string in c++?
What are exceptions c++?
Describe new operator?
Is dev c++ a good compiler?
How can you link a c++ program to c functions?
Differentiate between a constructor and a method in C++.
What are the differences between new and malloc?
What is std namespace in c++?
What is a storage class? Mention the storage classes in c++.
Can I learn c++ in a week?
Can I uninstall microsoft c++ redistributable?