Friday, March 11, 2016

What is Copy-restore?

Copy-restore:  A hybrid between call-by-value & call-by-reference is copy restore linkage.


1.Before the call, the actual parameters are evaluated. The r-values of the actual are passed to the called procedure as in call by value. The l-value of those actual parameters having l-values is determined before the call.

2. When the call returns, the current r-values of the formal parameters are copied back into the l-values of the actual, using the l-values computed before the call.

     Generally,   Copy restore is used by FORTAN implementation.
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE

0 comments:

Post a Comment