title: Call by reference vs call by copy restore
body: <p>I was looking at call by reference and call by copy/restore. And I had some confusion. Suppose I have a 2-parameter function that increments 1 to each parameter. Now what will happen if I use both the parameters as the same variable, like <code>incr(i, i)</code>, in the case of call by reference and call by copy/restore?</p>