Domanda di colloquio di Intel Corporation

Swap values between two registers without using a third register.

Risposta di colloquio

Anonimo

9 mar 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