Ques 1 Datatype
Which is the following is not primitive datatype ?
a) int
b) float
c) Array
d) char
Ques 2 Datatype
What is the range of the char ?
a) -128 to 127
b) -127 to 128
c) -128 to 0
d) -127 to 128
Ques 3 Datatype
What is the range of the char ?
a) 2 byte
b) 4 byte
c) 1 byte
d) None of these
Ques 4 Datatype
Which of the following is not a data type in C?
a) string
b) int
c) float
d) double
Ques 5 Datatype
What is the range of values that can be stored by an int data type in C?
a) -2147483648 to 2147483647
b) -32768 to 32767
c) -9223372036854775808 to 9223372036854775807
d) -1.7976931348623157e+308 to 1.7976931348623157e+308
Ques 6 Datatype
What is the range of values that can be stored by a float data type in C?
a) -32768 to 32767
b) -2147483648 to 2147483647
c) -9223372036854775808 to 9223372036854775807
d) -3.4028234663852886e+38 to 3.4028234663852886e+38
Ques 7 Datatype
What is the data type of the following expression: 2 + 3?
a) int
b) float
c) double
d) char
Ques 8 Datatype
What is the data type of the following expression: 2.0 + 3.0?
a) int
b) float
c) double
d) char
Ques 9 Datatype
What is the data type of the following expression: "Hello, world!"?
a) int
b) float
c) string
d) char*