Frage im Vorstellungsgespräch bei Xebia

swap two numbers without using third variable.

Antwort im Vorstellungsgespräch

Anonym

29. Apr. 2020

int a=10; int b=3; a = a+b; b = a-b; a = a-b;