What's the difference between new int and new int() vis-a-vis compiler?
<p>There are two ways to get the integer pointer</p>

<pre><code>int *i = new int;
int *i = new int();
</code></pre>

<p>I know the later option will set the integer to 0. But how are they different to compiler. Is new an operator and new(), overload of operator?</p>