Pergunta de entrevista da empresa Beast Code

Explain the difference between pass-by-value and pass-by-reference.