Declaration of Unions — Study Resources & PYQs
Declaration and basic use of unions in C.
- Estimated study time: 45 minutes
Study resources
- C Unions - Programiz (Article) — Explains that all union members share the same memory, so only one holds a valid value at a time. The struct-versus-union memory size comparison is a guaranteed exam question.
Taught in these subjects
- Computer Programming — BCST11 · Government College of Engineering and Technology, Jammu