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)
- 2 回答
- 0 關注
- 138 瀏覽
添加回答
舉報
0/150
提交
取消