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 |
Describe friend function & its advantages.
How compile and run c++ program in turbo c++?
Write about an iterator class?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
What is private public protected in c++?
How many bit combinations are there in a byte?
Which is best c++ or java?
Define anonymous class.
What is encapsulation in c++ with example?
What are templates? where we should use it?
What do you mean by a template?
What is the use of the this pointer?