PCS Global Tech interview question

how to exchange variable a and b's value without using a third variable?

Interview Answer

Anonymous

10 Apr 2018

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

2