When an array is passed to a function, it is actually passing the ________ of the first element.

  • Address
  • Copy
  • Reference
  • Value
When you pass an array to a function in C, you are actually passing the address (pointer) of the first element of the array. This allows the function to access and modify the original array.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *