Pointer as member or Reference as member
<p>I need one clarification in c++ linux.</p>

<p>I have <code>class C1</code> and another <code>class C2</code>. <code>C1</code> will have the reference of <code>C2</code>.</p>

<pre><code>class C1
{

   C2 &amp;obj ;

}
</code></pre>

<p>i am thinking of two choices here ,</p>

<ol>
<li>Directly holding the reference of <code>C2</code> as  <code>C2 &amp;obj;</code></li>
<li>Creating the pointer of <code>C2</code>, as <code>c2* obj;</code></li>
</ol>

<p>Which is good ? what is the difference in it ? when choose either?  </p>
