Low-Level DesignReported in a candidate post, Jul 2025
Structure and Union Padding
Filed under Qualcomm
The question
Given a sample code, determine the size of a structure and a union. Explain structure padding and how to avoid it without using __attribute__((packed)).
No write-up yet. Related questions below have one.
Related Qualcomm questions
Collected from public candidate posts and coding forums. Updated Nov 2026.