Is sizeof(int) always equal to sizeof(void*)
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/502811/sizeof-int-sizeof-void">sizeof (int) == sizeof (void*)?</a>  </p>
</blockquote>



<p>I was wondering whether it is guaranteed that, in both 32-bit and 64-bit systems, <code>sizeof(int)</code> is always equal to <code>sizeof(void*)</code> (i.e. 32 and 64 bits respectively).</p>

<p>Additionally, I need to know whether it is always guaranteed that a <code>long int</code> can accommodate the bits of an <code>int</code> and a <code>void*</code> together, e.g.</p>

<pre><code>long int lint = (((int)integer)&lt;&lt;sizeof(int)) | (void*)ptr;
</code></pre>
