NEW
Font size
WorksheetsData Types in C Quiz
Total questions: 10
Worksheet time: 5mins
Which data type in C is used to store only a single character?
int
char
double
float
What is the range of the integer data type in C?
-2,147,483,648 to 2,147,483,647
0 to 65,535
-128 to 127
1.2E-38 to 3.4E+38
Which data type in C is used to store decimal numbers with single precision?
double
int
char
float
What is the size of the char data type in C?
2 bytes
8 bytes
4 bytes
1 byte
Which data type in C is used to store decimal numbers with double precision?
int
char
double
float
What is the range of the float data type in C?
1.2E-38 to 3.4E+38
0 to 65,535
1.7E-308 to 1.7E+308
-2,147,483,648 to 2,147,483,647
Which data type in C is used to specify that no value is present?
double
float
void
int
What is the size of the float data type in C?
1 byte
8 bytes
4 bytes
2 bytes
Which data type in C is used to store integer numbers without decimal part?
double
int
char
float
What is the range of the double data type in C?
1.7E-308 to 1.7E+308
1.2E-38 to 3.4E+38
0 to 65,535
-2,147,483,648 to 2,147,483,647
