Question: When passing an array to a function: You always need to put an ampersand ( ) before the name so it will be passed by

When passing an array to a function:
You always need to put an ampersand() before the name so it will be passed by reference.
The ampersand isn't necessary, arrays are always passed by reference.
Arrays can only be passed by value.
Arrays cannot be passed to functions.
With arrays you use a double ampersand( &&
When passing an array to a function: You always

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!