Pregunta de entrevista de SAP

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

Respuestas de entrevistas

Anónimo

9 ago 2016

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

1

Anónimo

15 feb 2019

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