transferring parameters in C++
<p>can I have this snippet of the code:</p>

<pre><code>C *pa1 = new C(c2);
</code></pre>

<p>and I transfer it to another function:</p>

<pre><code>foo(pa1);
</code></pre>

<p>what exactly do I transfer actual pointer or its copy, thanks in advance
and can somebody give some info about in which cases info is copied, and in which I transfer actual pointer</p>

<p>declaration of foo:</p>

<pre><code>foo(A const *pa)
</code></pre>
