Given the following declaration of a struct, pack the member…
Given the following declaration of a struct, pack the members of the struct to minimize wasted space and respect alignment. Assume byte addressability and do not reorder members. Assume the ISA is Big Endian. struct x { char a{3}; // values { 0x30, 0xAC, 0x20 } short b; // value 0xBEEF int c; // value 0x6121C0DE char d; // value 0xCA short e; // value 0xMEAL}; Not all the hex values are valid. Please copy the values into the table below (e. g. LE is not a valid hex but write 0xLE in the corresponding cell). Prefix all the hex numbers with 0x and use uppercase for alphabetical digits (e. g. for hex value 0xFF: xFF, FF, and ff will NOT be accepted). There will be point deductions for misformatted fields. Write uppercase N/A in any unused fields. Do not leave any leading or trailing whitespaces in each cell. Starting Address +0 +1 +2 +3 0x1024 0x1028 0x102C 0x1030