How many datatypes are most used in C++?
a) four
b) five
c) six
d) seven
Explanation: Character datatype, Integer datatype, Floating point datatype, Boolean datatype, Unsigned datatype
Which of the following datatype is used to store single character value?
a) character datatype
b) integer datatype
c) floating point datatype
d) Boolean datatype
What is the correct format for declaring character datatype?
a) character gender;
b) char gender;
c) character gender
d) char gender
What is the signed range of character datatype?
a) 0 to 255
b) -128 to 127
c) 127 to 255
d) none of these
What is the unsigned range of character datatype?
a) 0 to 255
b) -128 to 127
c) 127 to 255
d) none of these
How many bytes are required for character variable in declaration?
a) 1 byte
b) 2 bytes
c) 4 bytes
d) 5 bytes