哪吒机器人提醒:

提醒:FLY
【标题】bit in struct use.
【摘要】//#includeusing namespace std;struct s // a struct is 4 byte;{ int a:1; //占4字节的1位. int b:1; int c:2; //占4字节的2位. int d:1; int e:1;}s;void main(int arg[]){ s.a=2; s.b=5; s.c=9; cout<< sizeof(s)<<" "<... (04-16 20:44)