typedef unsigned char uint8;
typedef unsigned int uint16;
typedef unsigned long uint32;
union
{
uint8 status[30];
struct{
uint8 _bit0:1;
uint8 _bit1:1;
uint8 _bit2:1;
uint8 _bit3:2;
uint8 _bit4:3;
}_BYTE_BIT;
}ubit8;
&ubit8._bit0++;//执行完这条指令后指针是否指向&_bit0?
&uint8._bit2++;//执行完这条指令后指针是否指向&_bit3?
&uint8._bit3++;//执行完这条指令后指针是否指向&_bit4?
struct{
uint8 time1;
uint16 time2;
uint32 time3;
uint16 time4;
uint8 time5;
}BYTE_BIT;
&BYTE_BIT.time1++;//执行完这条指令后指针是否指向&time2?
&BYTE_BIT.time2++;//执行完这条指令后指针是否指向&time3?
&BYTE_BIT.time3++;//执行完这条指令后指针是否指向&time4?
&BYTE_BIT.time4++;//执行完这条指令后指针是否指向&time5?
|