How to Swap two integers without temp variable
Hi,
I have got a question of swapping two int variables without using any predefined builtin function and without using any temp variable.
if int a=3; int b=2, without using temp variable i have to get the output as a=2 and b=3.
How can i do it?
Ramkumar
A.D.Ramkumar
__________________
Ramkumar A D
|