Swap two numbers without using third variable


Num1=Num1+Num2;
Num2=Num1-Num2;
Num1=Num1-Num2;

Comments

Popular posts from this blog

Difference between Application Page and Site Pages

Programmatically Upload document using Client object model – SharePoint 2010

This content database has a schema version which is not supported in this farm