C语言short反码位移测试
#include <stdio.h>int main(void) { short a = 127; short b = -127; int c ; printf("%d\r\n",sizeof(a)); printf("%d\r\n",sizeof(b)); printf("%x\r\n",a); printf("%x\r\n",b); printf("%x\r\n"