Frage im Vorstellungsgespräch bei Accenture

Give the logic of a basic C program to swap two numbers without using a temporary variable.

Antwort im Vorstellungsgespräch

Anonym

16. Juni 2012

The two numbers are stored in two variables a,b. a=a+b; b=a-b; a=a-b;

7