Structs, Unions, and Enums
0 questions
Aggregating data with structs, accessing members through . or ->, overlaying representations with unions, and naming constants with enums. The question that separates candidates is padding and alignment: why sizeof exceeds the sum of the fields, and how member order changes it.
questions
0 questions