explain union and enum
Answers
Answered by
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!!!!!!!
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
Math,
7 months ago
Math,
7 months ago
English,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago