swap without using temp variable
Page 1 of 1 • Share •
swap without using temp variable
another solution may be..
a=a*b;
b=a/b; (b!=0)
a=a/b;
a=a*b;
b=a/b; (b!=0)
a=a/b;
gunendu- Posts: 2
Join date: 2008-09-24
Re: swap without using temp variable
bhai gunendu....
this will work only in the case of intergers.
this will work only in the case of intergers.
vikas- Posts: 2
Join date: 2008-09-23
Permissions of this forum:
You cannot reply to topics in this forum





