title: Declaring C++ array with or without the "new" keyword
body: <p>In C++, what's the difference between this:</p>
  <pre><code>char example[10];
  </code></pre>
  <p>and this:</p>
  <pre><code>char* example = new char[10];
  </code></pre>
  <p>in both cases, I'm not initializing the content of the arrays, but just wanting to get 10-bytes in memory allocated to the character array. In both cases, I intend to then use sprintf() to assign a string value to them with no intermediate step.</p>