Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
• Call by pointer
This method is use to copy the address of
an argument into the formal parameter of the
function. The address will be used in order to
access the actual argument used in the call. Thus,
changes made to the parameter would affect the
argument.
• Call by reference
This method is use to copy the reference of
an argument into the formal parameter of the
function. The reference will be used to access the
actual argument used in the call. Thus, the changes
made to the parameter would affect the argument.