摘要:
#include <stdio.h>#pragma pack(1)typedef struct { unsigned int one:24; unsigned int two:25; unsigned int three:23; unsigned int four:24;} demo_type;int main(void){ demo_type s; printf("sizeof demo_type = %u\n", sizeof(demo_type)); unsigned a; a = s.two; return 0;}#pragma p... 阅读全文
posted @ 2013-05-14 13:39
zcranberry
阅读(217)
评论(0)
推荐(0)
浙公网安备 33010602011771号