C/C++ struct位結構(位域)

從問題開始html #include void main() { union { struct { unsigned short s1:3; unsigned short s2:3; unsigned short s3:3; }x; char c; }v;linux v.c=100; printf("%d/n",v.x.s3); } A:4 B:0 C:3 D:6 答案是A跨域 但我在TURBO
相關文章
相關標籤/搜索