C Language MCQ - English
Which of the following is a User-defined data type?
Home | Discussion ForumFree Online Test
Which of the following is a User-defined data type?
typedef int Boolean;
typedef enum {Mon, Tue, Wed, Thu, Fri} Workdays;
struct {char name[10], int age};
all of the mentioned
Answer : D
Free Online Test
View More Related Question
1) Which of the following is not a valid declaration in C?
2) Sort int in C language is?
Basic Datatype of C
Qualifier
All of the mentioned
short is the qualifier and int is the basic datatype
View Answer
3) Which of the data types has the size that is variable?
4) Predict the output of following C program #include <stdio.h>
int main()
{
char a = '12';
printf("%d", a);
return 0;
}
5) Which of the following is a User-defined data type?
typedef int Boolean;
typedef enum {Mon, Tue, Wed, Thu, Fri} Workdays;
struct {char name[10], int age};
all of the mentioned
View Answer