Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment