Pass by Reference vs Pass by value result
<p>Call by reference makes an alias of the formal parameter so every change of typical parameter affects also formal parameter, while pass-by value- result copies the result to the typical parameter and when the function returns, it copies the typical parameter to  formal.(Notice that call by value result is completely different to call by value).</p>

<p>Besides the implementation differences between these two  parameter passing  methods, it seems to me that the final result would be the same.</p>

<p>My question is does these two methods give the same results always or else could you give an example where these two methods return different results?</p>