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 |
Refer to a name of class or function that is defined within a namespace?
What is a block in c++?
What is a binary file? List the merits and demerits of the binary file usagein C++.
how to find the maximum of 10 numbers ?
What are guid? Why does com need guids?
What are the new features that iso/ansi c++ has added to original c++ specifications?
What is slicing?
What is c++ namespace?
What are features of c++?
Can we use resume in error handling i.e. in the catch block
What is meant by const_cast?
What is an associative container in c++?