Answer

There is a strong efficiency argument for passing arrays this way. The address of an array is a small piece of data (it's about the same size as an integer). Copying the entire contents of an array during every function call could be extremely expensive. Imagine passing as a parameter an array containing 1000 integers. That would be a lot of copying!

Return to lesson.