call by address call by reference which is more efficient code example
Example: call by address call by reference which is more efficient
The fact that only the addresses and not the data values are passed during a function call, the call-by-reference method is also more efficient, especially when the function arguments involve complex data types. However the call-by-reference method is also more prone to errors if it is not used carefully.