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 the static storage classes in c++.
How do I exit turbo c++?
Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.
Is c++ vector a linked list?
what are the iterator and generic algorithms.
what are the iterator and generic algorithms.
Can we define function inside main in c++?
how to connect with oracle 9i with server in socket program in c/c++
What do c++ programmers do?
what is pre-processor in C++?
what are the iterator and generic algorithms.
What is polymorphism in c++? Explain with an example?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What are namespaces in c++?
Write a program to show polymorphism in C++?