November 2017
Beginner
316 pages
6h 40m
English
When we say pass by value, it means that the value of whatever is passed to a function as an argument will be copied into that function, meaning that two copies of the same variable will be passed.
On the other hand, when we say pass by reference, the reference or location of whatever is passed to the function is also passed into that function, meaning that only one copy of the variable will be passed.
Read now
Unlock full access