Passing Arguments by Reference

Passing Arguments by Reference

Arguments can be passed by reference. That simply means that we are passing the address of the variable and not its value. Pass by reference is useful when you are…