Pregunta de entrevista de SolarWinds

what is the difference between call by reference and call by parameter.

Respuesta de la entrevista

Anónimo

4 jun 2024

In Call by Value, any changes made to the function argument do not affect the passed parameter because the value of the parameter is copied. In Call by Reference, changes to the function's argument are reflected in the passed parameter.