Xebia Interview Question

swap two numbers without using third variable.

Interview Answer

Anonymous

Apr 29, 2020

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