我不明白为什么下面的代码会打印出来,7 2 3 0
我希望它会打印出来1 9 7 1
。谁能解释为什么要打印7230
?:
unsigned int e = 197127;
unsigned char *f = (char *) &e;
printf("%ld\n", sizeof(e));
printf("%d ", *f);
f++;
printf("%d ", *f);
f++;
printf("%d ", *f);
f++;
printf("%d\n", *f);