Frage im Vorstellungsgespräch bei Intel Corporation

Swap values between two registers without using a third register.

Antwort im Vorstellungsgespräch

Anonym

9. März 2014

Lets say the two values are in variable x and y. perform the following operations: x = x xor y y = y xor x x = x xor y

7