| int main(int argc, char* argv[])
{
unsigned int a;
a = true;
printf( "%08X\n", a );
printf( "%08X\n", (1 == 1) );
printf( "%08X\n", (1 != 1) );
int i;
unsigned char flg;
for( i = 0x00; i <= 0xff; i++ ) {
flg = (unsigned char)i;
if( !flg ) {
printf( "false == %d\n", i );
}
}
return 0;
}
| |