...

/

Pass by Reference

Pass by Reference

This lesson introduces the ways by which we pass values to a function by reference.

What is Pass by Reference? #

When passing arguments by pass by reference, the original value is passed. Therefore, the original value gets altered. In pass by reference, we actually pass the value using ampersand sign &. The additional ...