reference type variable initialisation and storage
<p>Is this legal?</p>

<pre><code>int&amp; foo = 0x00000000;
</code></pre>

<p>I don't know if 'int' is the right data type. If you wanted to store an address what data type would you use? Or do you have to use a pointer?</p>

<p>in addition to this, is this legal?</p>

<pre><code>int foo = 5;
int bar = &amp;foo;
</code></pre>

<p>Essentially what I'm asking is, is there a way of storing addresses without the use of pointers?</p>
