03-08-07, 12:30 PM
|
#3 (permalink)
|
|
Super Moderator
Join Date: Feb 2006
Location: Hyderabad
Posts: 2,355
Thanks: 117
Thanked 255 Times in 206 Posts
Thanks: 117
Thanked 255 Times in 206 Posts
|
Re: Swapping 2 No.s without using 3rd variable
Please refer this thread which points to all posts which discuss the same issue.
How many temp variables are required to swap two numbers?
Thanks,
Krishna
__________________
Give 1 cup rice to a hungry Indian just by a mouse click. No money, no form filling, no hassle... Click here for the donation.
|
|
|