A user defined data type is a structure which contains variables of basic data types.
For example user can define a data type called employee which contains variables like string empname int deptno float salary etc.
User defined data type is data type which is a collection of other data types.
Example Structure in which we can add integer float char and byre