Question: 6 0 points When checking the size of a struct in C , why might it be larger than the sum of its fields? The
points
When checking the size of a struct in why might it be larger than the sum of its fields?
The compiler optimized the struct for size rather than access time
The compiler attaches extra type information to the fields which requires additional space
The compiler optimized the struct for access time rather than size
The compiler defaults to normalizing the field size
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
