Domanda di colloquio di Teradyne

How to swap two numbers without using pass by reference or temporary variables

Risposta di colloquio

Anonimo

20 nov 2024

x += y; y = x - y; x = x -y;

1