Not yer Assume a machine with a 4-byte word and word alignment. Char uses 1 byte, long int uses 4, and short int uses 2.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Not yer Assume a machine with a 4-byte word and word alignment. Char uses 1 byte, long int uses 4, and short int uses 2.

Post by answerhappygod »

Not Yer Assume A Machine With A 4 Byte Word And Word Alignment Char Uses 1 Byte Long Int Uses 4 And Short Int Uses 2 1
Not Yer Assume A Machine With A 4 Byte Word And Word Alignment Char Uses 1 Byte Long Int Uses 4 And Short Int Uses 2 1 (23.61 KiB) Viewed 52 times
Not yer 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply