Use of new and delete in C++
<p>I need help in understanding when shall I use the following options</p>

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

<p>and</p>

<pre><code>char *a = new char[sizeof(int)+1];
</code></pre>

<p>and how the respective memory freeing calls should be made?</p>
