c++ heap memory allocation/deallocation
<p>If i declare something on the heap like <code>char *a=new char[1000]</code> and the main program stops what will happen with that allocated memory if there is no <code>delete[]</code> call? It remains on the heap or is automatic deallocated?</p>
