Sollicitatievraag bij SAP

How can you swap two variables without using a third temporal variable?

Antwoorden op sollicitatievragen

Anoniem

9 aug 2016

By adding and subtracting. (You have to figure out the math)

1

Anoniem

15 feb 2019

Suppose: a=5 b=4 a=a+b % 9 b=a-b % 5 a= a-b % 4