Question.6
A developer defines a union for a 5-byte communication packet:
typedef union {
struct {
uint8_t header;
uint32_t payload;
} fields;
uint8_t raw[5];
} Packet;
printf("%lu", sizeof(Packet));The developer expects sizeof(Packet) to be 5. What does it actually print?