Page 1 of 1

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
by answerhappygod
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 1
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 1 (26.41 KiB) Viewed 35 times
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