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) What is the output of this C code?#include
int main()
{
signed char chr;
chr = 128;
printf(
2) Which is correct with respect to size of the datatypes?
3) Predict the output of following C program #include <stdio.h>
int main()
{
char a = '12';
printf("%d", a);
return 0;
}
4) Which of the following is not a valid declaration in C?
5) What is the size of an int data type?