Contents

What is the meaning of the statement I+=3;?
a) I=I+3
b) I=3    
c) I-3=I 
d) I3

a

Which of the following variable is used to increase the value of variable?
a) ++      
b) +                        
c) >>                      
d) <<

a

Which of the following operator is used to decrease the value of variable?
a) - -       
b) -+-     
c) <<                      
d) >>

a

Which of following operator as the highest order of precedence in an expression?
a) ( )        
b) *                        
c) /                         
d) +

a

What is the value of x after statements? X= y *z +3; where y=10, z=3;
a) 12      
b) 60                      
c) 30                      
d) 33

d

What is the value of x after the following statements? X= x+30; where x=0;
a) 0                        
b) 30                      
c) 33                      
d) 3

b