In C++, how does the following code works?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/620137/do-the-parentheses-after-the-type-name-make-a-difference-with-new">Do the parentheses after the type name make a difference with new?</a>  </p>
</blockquote>



<p>Hi guys,</p>

<p>I have a question about C++ regarding to the following code:</p>

<pre><code>Test *t1 = new Test; // there is no () after new Test;
</code></pre>

<p>if there is a user declared default constructor, what operations are performed by the above line?</p>

<p>and what about </p>

<pre><code>Test *t2 = new Test(); // there is () after new Test;
</code></pre>
