Question d’entretien chez ZS Associates

Swap two numbers without using a third variable

Réponse à la question d'entretien

Utilisateur anonyme

16 févr. 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