title: Delete on array crashes C++
body: <p>I have below code which is crashing.</p>
  
  <pre><code>aClass *ptr_obj = new aClass[5];
  delete ptr_obj;
  </code></pre>
  
  <p>I know, ptr_obj is to be deleted using delete[], but my question here is why it crashes when I use delete. I was thinking it will call destructor for first object instead of crash.
  Please help.</p>