Frage im Vorstellungsgespräch bei ZS Associates

Swap two numbers without using a third variable

Antwort im Vorstellungsgespräch

Anonym

16. Feb. 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