Multiple choice

In union, unlike a structure, your programs can only assign a value to one member at a time.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A union allocates enough memory for its largest member, and all members share the same memory location. Therefore, only one member can hold a valid value at any given time.