Contents

What is the correct format for declaring character datatype?
a) character gender;           
b) char gender;
c) character gender             
d) char gender

b

What is the signed range of character datatype?
a) 0 to 255                           
b) -128 to 127
c) 127 to 255                       
d) none of these

b

What is the unsigned range of character datatype?
a) 0 to 255                           
b) -128 to 127
c) 127 to 255                       
d) none of these

a

How many bytes are required for character variable in declaration?
a) 1 byte                                               
b) 2 bytes
c) 4 bytes                              
d) 5 bytes

a

Which of the following is correct format variable declaration?
a) datatype variable name;                            
b) variable name datatype
c) variable name datatype;
d) none of these

a

How many variables of same datatype can be declared in a single statement?
a) one variable    
b) many variables
c) both a & b                       
d) none of these

c