标签: c bit-manipulation
int data = 0x69bd2ab7; char byte1 = (data >> 16) & 0x000000FF; printf("Extracted: 0x%x\n", byte1);
以上版画:
摘录:0xffffffbd
如何摆脱前面的ff并打印0xbd?