Computer Science, asked by sgokuahulrai6022, 10 months ago

How can array be passed to function ? Explain with example.

Answers

Answered by KeshviReddy
6

The array can be passed to function by

using a reference

Passing array to function using call by reference.

When we pass the address of an array while calling a function then this is called function call by reference.

When we pass an address as an argument, the function declaration should have a pointer as a parameter to receive the passed address.

Similar questions