Thread: swapping
View Single Post

  #3 (permalink)  
Old 02-19-2008, 07:10 AM
sathishdpi sathishdpi is offline
Junior Member
 
Join Date: Feb 2008
Posts: 1
sathishdpi is on a distinguished road
Quote:
Originally Posted by Bhaskar513 View Post
i want to swap two numbers without using third variable
HI just u try this
A=A+B
B=A-B
A=A-B
Reply With Quote