Domanda di colloquio di Tata Consultancy Services

5.Write the LOGIC for Swapping of Two Numbers WITHOUT using temporary variable ?

Risposta di colloquio

Anonimo

19 feb 2018

I wrote. int a,b ; a = a + b ; b = a - b; a = a - b ;