When I change a parameter inside a function, does it change for the caller, too?
<p>I have written a function below:</p>

<pre><code>void trans(double x,double y,double theta,double m,double n)
{
    m=cos(theta)*x+sin(theta)*y;
    n=-sin(theta)*x+cos(theta)*y;
}
</code></pre>

<p>If I call them in the same file by </p>

<pre><code>trans(center_x,center_y,angle,xc,yc);
</code></pre>

<p>will the value of <code>xc</code> and <code>yc</code> change? If not, what should I do?</p>
