Domanda di colloquio di InfinityLabs R&D

Write a function that switches between two values in memory.

Risposta di colloquio

Anonimo

20 lug 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