Question: what is difference between structure and union & enum?
Answer: Structure is a data type that stores different data types in the same memory location; the total memory size of the structure is the summation of memory sizes of all its members. ... Meanwhile, Enum is a data type that store integral constants. Thus, this is the main difference between structure union and enum in C.