title: C++ Initialize array pointer
body: <p>How do I initialize a pointer to a literal array?<br>
  I want *grid to point to the new allocated int array {1, 2, 3}.</p>
  
  <pre><code>int *grid = new int[3];
  *grid = {1, 2, 3};
  </code></pre>
  
  <p>thank you.</p>