Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
(Move to ...)
Event registration app with QR/Paypal
Home
▼
Monday, September 14, 2015
How to swap two numbers without third variable?
int first,second ;
first = 1;
second = 2;
first = first + second;
second = first - second;
first = first - second;
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment