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


Please Help Members By Posting Answers For Below Questions

What is abstract class in c++?

579


What is == in programming?

609


What is a storage class?

635


What is private inheritance?

591


write a porgram in c++ that reads an integer and print the biggest digit in the number

1759






Where the memory to the static variables is allocated?

550


What are advantages of using friend classes?

623


Is c++ a float?

595


What are the 3 levels of programming languages?

526


Why is c++ still popular?

579


What is the extraction operator and what does it do?

604


What are special characters c++?

555


What does floor mean in c++?

570


What is token c++?

568


What is a stack c++?

563