Pass by Reference
In this lesson, passing arguments by reference will be introduced to you.
We'll cover the following
Arguments Pass by Reference
When we want the called function to make changes to the parameters such that the changes are seen by the calling function when the call returns. The mechanism to do this is called pass arguments by reference.
Syntax
The general syntax of passing arguments by reference is:
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy