Sollicitatievraag bij Cognizant

Swap 2 numbers without using 3rd variable

Antwoord op sollicitatievraag

Anoniem

21 dec 2020

Let a=3, b=2 a = a-b; b=b+a; a=b-a;