IBM interview question

Swap two numbers without third variable ?

Interview Answer

Anonymous

27 Aug 2019

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