title: What is difference between instantiating an object using new vs. without
body: <p>In C++,</p>
  
  <p>Aside from dynamic memory allocation, is there a functional difference between the following two lines of code:</p>
  
  <pre><code>Time t (12, 0, 0); //t is a Time object
  
  Time* t = new Time(12, 0, 0);//t is a pointer to a dynamically allocated Time object
  </code></pre>
  
  <p>I am assuming of course that a Time(int, int, int) ctor has been defined. I also realize that in the second case t will need to be deleted as it was allocated on the heap.  Is there any other difference?</p>