Pergunta de entrevista da empresa Apple

Difference between passed by reference and value.