Unions

Student of Dr. Sanders cs78404 at wright.EDU
Sat Oct 22 03:29:25 AEST 1988


in article <322 at hrc.UUCP>, dan at hrc.UUCP (Dan Troxel VP) says:
> 
> 
> Except for the memory savings, what are Unions suited for?
>
Unions are used to logically group related data structures.

For example, if you have twelve structs with a queue in each, you can
group all of the queues together logically with a union statement.



More information about the Comp.lang.c mailing list