#include <stdio.h>
int main()
{
long long x = 0x8ce4b16b;
long long y = x<<4;
printf("%lx, %lx, abc\n", x, y);
return 0;
}
我越來越
8ce4b16b,0,ABC ......這樣行嗎?C:預計輸出
但是,如果我改變printf
像printf("%lld, %lx, abc\n", x, y);
輸出變爲:
2363797867,ce4b16b0,ABC
爲什麼本來這種行爲! :(