Another way to swap 2 numbers

Submitted by:Jhon Jhon

Date added:05 June, 2016

Category:C++

Source code by Maganti Venkatesh for another way to swap 2 numbers

Tags: swap to number

Code Snippet:

int a=10,b=20,c;

a=a*b;
b=a/b;
a=a/b;
 
 

Comments