Pergunta de entrevista da empresa UBS

Two integers, A and B, swap their values without the use of a third variable.

Resposta da entrevista

Sigiloso

14 de mar. de 2014

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

1