title: char* new and delete [] error when a string is assigned
body: <p>I need a C++ refresher. Why does this gives a memory exception?</p>
  
  <pre><code>pear = new char[1024];
  pear = "happy go lucky";
  delete [] pear; // exception
  </code></pre>