Why am I always getting output as 1 when printing a function?
<p>Hi guys I'm new to C++ (and SO) and was wondering why I'm always getting output as 1 when I print this function. Okay here's the code:</p>

<pre><code>#include &lt;iostream&gt;
using namespace std;

int main() {
    int x(int());
    cout &lt;&lt; x; // 1
}
</code></pre>

<p>It always prints out one. Why? I was expecting it to output 0 as ints are defaulted to 0. So why 1?</p>
