Sollicitatievraag bij Apisero

How will you swap two variables without using a third variable??

Antwoorden op sollicitatievragen

Anoniem

13 mei 2021

HR questions please tell . And ctc ordered

Anoniem

8 apr 2021

I said I know two ways to swap variables without using third. first, by bit manipulation, we can swap any type of variable, and second, if the variables are of integer type then we have to do some math. He said the Integer type will be fine, So I answered accordingly.

1