Contents

……. Is used to assign a value to variable.
a) logic operator  

b) arithmetic operator
c) assignment operator    

d) none of these

c

Example of compound assignment operator.
a) a+=10                                               

b) a=a+10
c) a+(10)                                               

d) a=+10

a

Which type of operator is represented by ++ sign?
a) double plus                      

b) decrement
c) increment                        

d) none of these

c

What is prefix increment operator?
a) ++c                                    

b) c++
c) +c+                                    

d) none of these

a

The operators which are used to compare values is called.
a) increment                                        

b) decrement
c) logical                                               

d) relational

d

The operators which are used to evaluate compound conditions is called.
a) increment                                        

b) decrement
c) logical                              

d) relational

c