Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following is a User-defined data type?

a) typedef int Boolean;
b) struct {char name[10], int age};
c) typedef enum {Mon, Tue, Wed, Thu, Fri} Workdays;
d) all of the above

Answer: d
Explanation: typedef and struct are used to define user-defined data types.

Join The Discussion