In pass by reference (also called pass by address), a copy of the address of the actual parameter is stored. Use pass by reference when you are changing the parameter passed in by the client program.
Source: Function pass by value vs. pass by reference
Login in to like
Login in to comment