位域运算,位域bs的存储 #includestruct bs{ unsigned a:1; unsigned b:3; unsigned c:4;}bit,*pbit;main(){ char x; bit.a=1; bit.b=7; bit.c=15; printf("%d %d %d",bit.a,bit.b,bit.c); x=0; memcpy(&x,(char*)&bit,sizeo C 2023-12-08 51 点赞 0 评论 77 浏览