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
Is c++ pass by reference or value?
What is the difference between struct and class?
What do you mean by inheritance in c++?
Can I learn c++ without learning c?
What is c++ 11 and c++ 14?
How come you find out if a linked-list is a cycle or not?
What is c++ runtime?
Which c++ operator cannot overload?
What is conditions when using boolean operators?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
Explain the term memory alignment?
Which compiler does turbo c++ use?
How is computer programming useful in real life?
What do the header files usually contains?
Why c++ is better than c language?