Domanda di colloquio di Birlasoft

How to swap two numbers without a third variable.

Risposte di colloquio

Anonimo

26 gen 2021

Use pen and paper...or notepad

1

Anonimo

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