Pergunta de entrevista da empresa InfinityLabs R&D

Write a function that switches between two values in memory.

Resposta da entrevista

Sigiloso

20 de jul. de 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