Lesson 19 of 50
cUnions
7 mins
Course progress38%
What you'll learn
Keep these ideas in mind as you work through the lesson.
Lesson 19 of 50
c7 mins
Keep these ideas in mind as you work through the lesson.
union shares the same memory location for all its members. Only one member can be active at a time.
union Data {
int i;
float f;
char c;
};