Which of the following is a User-defined data type?
(a) typedef int Boolean;
(b) typedef enum {Mon, Tue, Wed, Thu, Fri} Workdays;
(c) struct {char name[10], int age};
(d) all of the mentioned
The question was posed to me in semester exam.
The above asked question is from Data Types and Sizes in chapter Data Types, Operators and Expressions in C of C