Frage im Vorstellungsgespräch bei SAP

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

Antworten zu Vorstellungsgespräch

Anonym

9. Aug. 2016

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

1

Anonym

15. Feb. 2019

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