Pregunta de entrevista de InfinityLabs R&D

Write a function that switches between two values in memory.

Respuesta de la entrevista

Anónimo

20 jul 2021

In the SIMPLE language variables are passed by value and arrays are passed by reference, so you can simply insert an array into the function and replace the values in it