that can have multiple representations. Each representation of the storage can be a different type. A structure can store several values. It is a collection of variables under a single name
Typed and anonymous
unions
A union that is defined as a
user-defined type is referred to as a typed union. If typedef is not used, the union is referred to as an anonymous union
An unpacked union can contain any
variable type, including real types, unpacked structures and unpacked arrays. They are not synthesizable. In a packed union, the number of bits of each union member must be the same.. Packed unions are syntheiszable