char int 取值范围

-128~127

-127--中间环节-->0x11111111--除符号位,取反加一--->0x10000001 

-128---->0x10000000

int型(2字节):-32768~32767



你可能感兴趣的:(char int 取值范围)