how to swap two strings without using any third variable ?
Answers were Sorted based on User's Feedback
Answer / sivaraj
Is the Answer 1 posted by ashutosh works for nagative numbers ?
best answer :
a=a^b;
b=a^b;
a=a^b;
| Is This Answer Correct ? | 7 Yes | 15 No |
What is constructor in C++?
What are the two types of polymorphism?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
What is a c++ vector?
What is the difference between function overloading and operator overloading?
Difference between an inspector and a mutator
How to avoid a class from instantiation?
What is #include iostream?
describe private access specifiers?
Why is c++ a mid-level programming language?
What is the use of data hiding?
Explain shallow copy?