Pergunta de entrevista da empresa Fast Enterprises

Explain the difference between passing a variable as a value vs as a reference. What are the pros and cons of both?