how to swap two strings without using any third variable ?
Answer Posted / 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 |
Post New Answer View All Answers
What does it mean to declare a destructor as static?
Write a c program for binary addition of two 8 bit numbers.
what do you mean by volatile variable?
what are the iterator and generic algorithms.
What do you mean by overhead in c++?
What do you mean by “this” pointer?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
What is called array?
What would happen on forgetting [], while deallocating an array through new?
What is increment operator in c++?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
How do I run a program in notepad ++?
Can we specify variable field width in a scanf() format string? If possible how?
What is meant by forward referencing and when should it be used?