Answer: by reference
When an array (variable)
is passed as a function argument, it passes the base address of the array.
The base address is the location of the first element of the array in the
memory.
When an array (variable)
is passed as a function argument, it passes the base address of the array.
The base address is the location of the first element of the array in the
memory.
0 comments:
Post a Comment