C++: What is the default length of an int?
<p>I've been searching for a while but couldn't find a definite answer to this apparently simple question: what is the default length of an int?  </p>

<p>I know that by default, an int is signed. But is it short or long?  </p>

<p>According to the "Fundamental data types"table found in the following page, an int is a long int by default (4 bytes).
<a href="http://www.cplusplus.com/doc/tutorial/variables/" rel="nofollow">http://www.cplusplus.com/doc/tutorial/variables/</a></p>

<p>Is it always true, or does this depend on the OS (32bit/64bit), the compiler or other things?  </p>
