#include <stdio.h>
//#pragma pack(1)
struct blue
{
short unsigned apple;
char unsigned pear;
char unsigned orange;
int unsigned banana;
char unsigned poo;
};
//#pragma pack(pop)
int main() {
blue fruit;
fruit.apple = 0x04 | 0x01;
fruit.pear = 0x05;
fruit.orange = 0x06;
fruit.banana = 0x07;
fruit.poo = 0x08;
printf("%X\n",fruit.apple);
printf("%X\n",&fruit.pear);
printf("%X\n",&fruit.orange);
printf("%X\n",&fruit.banana);
printf("%X\n",&fruit.poo);
printf("%i\n",sizeof(fruit));
return 0;
}