How do you pass an array argument?

To pass an array argument to a function, specify the name of the array without any brackets. For example, if an array hourlyTemperatures has been declared as the function, the call passes array hourlyTemperatures and its size to function modifyArray.
For More Information Please Refer:


You May Also Like to Read: