22 March 2010

Coding to swap two variables without using third variable

swap two variables without using third variable

a=a+b;
b=a-b;
a=a-b;

No comments:

Post a Comment

Comments Welcome

Consistency level in Azure cosmos db

 Consistency level in Azure cosmos db Azure Cosmos DB offers five well-defined consistency levels to provide developers with the flexibility...