1(vi)
Which of the following is user-defined data type?

- (a)only 1
- (b)1 and 3
- (c)only 2
- (d)only 4
Show SolutionHide Solution↓
1 and 3
Reason — A user-defined data type is a data type defined by the user. In the given options, array and class are user-defined data types because they are created by the user to store multiple values or define their own structure. double and boolean are predefined (primitive) data types.