C++ Call by Reference

tutorial and example
tutorial and example

In call by reference function, action is performed over the actual value pass in the parameter. At the time of function call we pass the address or reference of value. So that in call by reference the actual value inside and outside function of the program got affected.

C++ call by reference Example

Output: