Changing the values in the original array elements

Once again, as we will see when we later invoke the displayData function to display the contents of the array, the code in Listing 3 is actually changing the values in the elements of the original array, and is not changing the values in the elements in a copy of the array.

Therefore, even though the formal parameter list does not qualify the first parameter using the reference operator &, that incoming parameter has to be a reference to the array and is not a copy of the array.