You use a union when your “thing” can be one of many different things but only one at a time. You use a structure when your “thing” should be a group of other things.
You use a union when your “thing” can be one of many different things but only one at a time. You use a structure when your “thing” should be a group of other things.