Capgemini interview question

Swap two numbers without using any variables

Interview Answer

Anonymous

5 Jun 2018

System.out.println("After swap: x = " + x + ", y = " + y);

10