What's the difference between new char[10] and new char(10)
<p>In C++, what's the difference between</p>

<pre><code>char *a = new char[10];
</code></pre>

<p>and</p>

<pre><code>char *a = new char(10);
</code></pre>

<p>Thanks!</p>
