what is the difference betweeen int *a and int *&a
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/11376085/strange-type-in-c">Strange type in c++</a>  </p>
</blockquote>



<p>What is difference between int* a and int*&amp; z?</p>

<p>they output the same memory address.</p>

<pre><code>int test(int * a, int *&amp; z){
     cout &lt;&lt; a &lt;&lt; " " &lt;&lt; z &lt;&lt; endl;
}
</code></pre>
