Wipro interview question

They asked me to swap two variables without using a temp variable.

Interview Answer

Anonymous

13 Sept 2018

i answered it using XOR operation.