Xebia interview question

swap two numbers without using third variable.

Interview Answer

Anonymous

29 Apr 2020

int a=10; int b=3; a = a+b; b = a-b; a = a-b;