Contents

Another way to write a value 3452211903 is……
a) 3.452211903e09           
b) 3.452211903e-09
c) 3.452211903x09           
d) 3452211903e09

a

The constant 0.15e+6 represent the same value as…..
a) 150000.0 
b) 6.15 
c) 0.75   
d) 0.21

a

Which of the following statement is not legal?
a) char ch=’b’                      
b) char ch=’0’
c) char ch=65                      
d) char ch=”c”

d

Which of the following is required to declare a variable?
a) continue                           
b) variable name
c) data type                         
d) both b& c

d

Which symbol is used to separate each variable while declaring many variables in one line?
a) comma                            
b) colon
c) pipes                                 
d) semicolon

a

Which of the following is valid statement for declaring a variable?
a) int marks;                        
b) int a, b, c;
c) double salary  
d) all of these

d