title: What is the behavior of "delete" with stack objects?
body: <pre><code>int main()
  {
      Class_Name t;
      Class_Name * p = &amp;t;
  
      delete p;
      return 0;
  }  
  </code></pre>
  
  <p>This code executes fine with 2 destructors being called? How does delete work with stack objects? Is the behavior undefined?</p>