Pergunta de entrevista da empresa Intel Corporation

How would you add two numbers without using a local variable in order to keep the result?

Resposta da entrevista

Sigiloso

27 de set. de 2015

a=a+b b=a-b=a+b-b = a a=a-b = a+b -a = b