title: calling destructor using delete
body: <p>Is it correct to do the following :</p>
  
  <pre><code>MyClass mc1(1, 1);
  MyClass* pmc1 = &amp;mc1;
  delete pmc1;
  </code></pre>
  
  <p>I saw it in a code example. I thought we can call delete on pointers to object that is allocated on the heap but this pointer points to an object on the stack, isn't it ?
  Could someone explain it.</p>