What does an extra 0 in front of an int value mean?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/44569/octal-number-literals-when-why-ever">Octal number literals: when? why? ever?</a>  </p>
</blockquote>



<p>Hello everyone,</p>

<p>Inspiring from a obfuscated piece of code, I have a small question regarding to assign value to an integer:</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;cstdio&gt;

int main() {
    int i = 0101;
    std::cout &lt;&lt; i &lt;&lt; "\n";
}
</code></pre>

<p>And the output was 65, and I have no idea where 65 came from? Any idea?</p>

<p>Thanks,<br>
Chan</p>
