First page Back Continue Last page Graphics
Functions & arrays
If you passed an array by value, it would require a lot of local memory and a long process to copy all the values from the array to the local array.
So, arrays are always passed by reference. This means a pointer to the array is passed by value.
Inside the function, you can use this pointer just like it is an array.
Changes inside are done to external array.
There is only one copy of the entire array.