How is the size of a union determined in C?

  • By the number of members
  • By the size of its largest member
  • By the size of its smallest member
  • By the sum of the sizes of its members
In C, the size of a union is determined by the size of its largest member. If you have a union with multiple members, the size will be at least as large as the largest member's size.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *