IBM interview question

Swap two numbers without third variable ?

Interview Answer

Anonymous

Aug 27, 2019

x = x + y; y = x - y; x = x - y