Allocate space for char
<p>String construct got space for the data by doing</p>

<pre><code>new char[strlen(cp)+1];
</code></pre>

<p>Since there are only <code>strlen(cp)</code>characters in the string, what is the extra byte for?</p>
