J.P. Morgan interview question

Pass by value and pass by reference