Assume a machine with a 4-byte word and word alignment. Char uses 1 byte, long int uses 4, and short int uses 2. Rearran
Posted: Tue Jul 12, 2022 8:16 am
Assume a machine with a 4-byte word and word alignment. Char uses 1 byte, long int uses 4, and short int uses 2. Rearrange the following data class so they use less space. Indicate their new size in bytes. class blink { }; long int twink; short int biff; long int fwink; short int fink; New size = bytes