Sollicitatievraag bij Elegant MicroWeb

Swap 2 numbers without using third variable.

Antwoord op sollicitatievraag

Anoniem

9 aug 2015

x = x + y; y = x - y; x = x - y; This was my solution without using XOR operator.

1