Funcions > Call by value
There are two ways in which a function can pass parameters. They are call by reference and call by value. In call by value method, the called function creates a new set of variables and copies the values of arguments in to them. The called function does not have access to the actual variables in the calling program and can only work on the copies of values. The change made to the formal parameters do not affect the actual parameter values. The example is an illustration of call by value method passing parameters.
Means to Learn



