Computer Science, asked by joyjain55, 1 year ago

How do I use arrays in C++?

Answers

Answered by omegads04
0

Answer: To pass an entire array to a function, only the name of the array is passed as an argument.

Explanation: However, notice the use of [ ] after argument name in float average ( float age [ ] ) .This informs the compiler that you are passing a one-dimensional array to the function .

Similar questions