struct test1{char a[2];short b;double c;};和struct test2{char a[2];int b;double c;};为何test1中b的偏移量为2(test1第三个字节开始存放b)而test2中b的偏移量为4(test2中第五个字节开始才存b)
ITMISS
噜噜哒
相关分类