Domanda di colloquio di Qualcomm

what is the difference between pass by value and pass by reference?