Pregunta de entrevista de Intel Corporation

Swap values between two registers without using a third register.

Respuesta de la entrevista

Anónimo

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