Home / Questions / Describe how arrays can be passed to a user defined function
Explanatory Question

Describe how arrays can be passed to a user defined function

👁 1,210 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

One thing to note is that you cannot pass the entire array to a function. Instead, you pass to it a pointer that will point to the array first element in memory. To do this, you indicate the name of the array without the brackets.