The structure is a user-defined data type that is a collection of dissimilar data types. Enum is to define a collection of options available . 3. A struct can contain both data variables and methods. Enum can only contain data types.
The structure is a user-defined data type that is a collection of dissimilar data types. Enum is to define a collection of options available . 3. A struct can contain both data variables and methods. Enum can only contain data types.