- 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 33 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. Rearran
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 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. Rearran
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