Wipro interview question

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

Interview Answer

Anonymous

Sep 13, 2018

i answered it using XOR operation.