Pregunta de entrevista de ZS Associates

Swap two numbers without using a third variable

Respuesta de la entrevista

Anónimo

16 de feb de 2018

num1, num2 swapping num1 = num1+num2; num2 = num1-num2; num1 = num1-num2; this the code take 2 numbers and do the process as i told u will understand