title: How can I access the specific index of dynamically allocated array through a reference?
body: <p>I want to do something like</p>
  
  <pre><code>int &amp;a = *(new int[10]);
  // access all the indices from this reference somehow.
  </code></pre>
  
  <p>All I can do is something like,</p>
  
  <pre><code>int *b = &amp;a;
  b[1] = 10;
  </code></pre>
  
  <p>Can I do it using reference? If no, why?</p>