What's happening to an int that starts with 0? ex 00101
<p>I am wondering, what is happening when an int is starting with a zero? </p>

<pre><code>int main() {
    int myint = 01001;
    cout &lt;&lt; myint;
    return 0;
}
</code></pre>

<p>Why is that outputting:</p>

<pre><code>513
</code></pre>

<p>I have tried several compilers.</p>
