Computer Science, asked by vishalcommercepcm3da, 1 year ago

explain union and enum

Answers

Answered by GRANDMESSI
0
uHey mate.
Here is your answer-

Union- A union is a special data type in C that allows to store different data types innthe same memory location. Union can be defined in many members, but only one member can contain a value at any given time.

Enum- In computer programing, an enumerated type (also called enumeration, enum, or factor in the R programing language, and a categorical variable statistics) is a data type consisting of a set of named values called elements, member, enumeral, or enumerators of the data type is known as Enum.

Hope it helps!!!!!!!
Similar questions