Is delete necessary when the variable is local?
<p>If I were to allocate new memory for a local character array in a function using "new", would it be necessary to use delete prior to the function return?</p>

<p>Wouldn't it automatically be deleted after the function return anyway?</p>
