Question: what is the difference between structure and enum in c?
Answer: That is the main difference between structure union and enum in C. In programming, a variable can store a value of a single data type. ... Structure and union are two methods to store multiple variables of different types as a single variable. On the other hand, enum is a data type to declare a set of named constants.