Question.2
A developer defines a struct with bitfields:
typedef struct { uint8_t flag1 : 1; uint8_t flag2 : 1; uint8_t mode : 3; uint8_t : 3; // reserved } StatusByte; printf("%lu", sizeof(StatusByte));
What does this print?
Select Answer
1
4
8
2