A user defined type is any type that is not built in. You can use enum, typedef, struct, and union to define a user defined type.
a composite type, is a type that holds multiple types. A struct or a union can define a composite type.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to know whether struct and union composite data types or user-defined data types?
What is the difference between a composite and user-defined data types?
A user defined type is any type that is not built in. You can use enum, typedef, struct, and union to define a user defined type.
a composite type, is a type that holds multiple types. A struct or a union can define a composite type.