私はこの簡単なプログラムを持っています
#include <stdio.h>
int main(void)
{
unsigned int a = 0x120;
float b = 1.2;
printf("%X %X\n", b, a);
return 0;
}
私は出力が
some-value 120 (some-value will depend on the bit pattern of `float b` )
でもわかる
40000000 3FF33333
なぜめちゃくちゃになる価値があるのaですか?はその%X引数signed intをba0x120