Effects of passing entire array by reference

Effects of passing array element by value