English, asked by ranjithkumar1442, 9 months ago

The parameter passing mechanism for an array is​

Answers

Answered by Anonymous
6

The parameter passing mechanism for an array is call by reference.

Answered by VaibhavSR
0

Answer:

call by value

Explanation:

Parameter passing mechanism for an array is call by value.

This mechanism is used for passing objects, where a reference to the objected is passed by value.

Parameter passing is the mechanism used to pass parameters to a procedure (subroutine) or function. The most common methods are to pass the value of the actual parameter (call by value), or to pass the address of the memory location where the actual parameter is stored.

The call by value method of passing arguments to a function copies the actual value of an argument into the formal parameter of the function. By default, C programming uses call by value to pass arguments. In general, it means the code within a function cannot alter the arguments used to call the function.

#SPJ6

Similar questions