Sollicitatievraag bij Birlasoft

How to swap two numbers without a third variable.

Antwoorden op sollicitatievragen

Anoniem

26 jan 2021

Use pen and paper...or notepad

1

Anoniem

9 apr 2021

int x=5; int y=4; x=x+y; //x*y y=x-y; //x/y x=x-y; //x/y Print x and y