摘要:
结构体数据长度:4字节对齐1、typedef struct tagA{ shorta;char b;}TA;sizeof(TA) = 4;2、typedef struct tagA{ shorta;}TA;sizeof(TA) = 2;3、typedef struct tagA{char b;}TA;sizeof(TA) = 1;4、typedef struct tagA{ shorta;char... 阅读全文
posted @ 2010-05-19 09:54 凹凸Man 阅读(1021) 评论(0) 推荐(1)
浙公网安备 33010602011771号