<pre name="code" class="cpp">#include<stdio.h>
int main()
{
<span style="white-space:pre"> </span>int i;
<span style="white-space:pre"> </span>unsignd int x = (unsigned int)~0;
<span style="white-space:pre"> </span>for (i = 1; x >>= 8; i++);
<span style="white-space:pre"> </span>printf("%d\n", i);
}
<span style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);">
</span>
#include<stdio.h>
int main()
{
<span style="white-space:pre"> </span>int a = 0;
<span style="white-space:pre"> </span>printf("%d",(char *)(&a + 1) - (char *)(&a));
}