前几天笔试发现这个问题有点模糊,所以打个囃,记录一下:
1字节(字节)=8位) bit )在16位的系统中(比如8086微机) 1字 (word)= 2字节(byte)= 16(bit)
在32位的系统中(比如win32) 1字(word)= 4字节(byte)=32(bit)
在64位的系统中(比如win64)1字(word)= 8字节(byte)=64(bit)
c型3264 char 11 shortint 22 int 44 longint 48 longlong int88 char * 48 float 44 double 8
转载于:https://www.cn blogs.com/roscangjie/p/11566668.html