Contents

The operator which works with two operands is called…………..
a) unary operator               

b) binary operator
c) ternary operator                             

d) none of these

b

Which of the following is the format specifier for integer data?
a) %s                                     

b) %c
c) %d                                    

d) %f

c

Which escape sequence is used to insert new line?
a) \new                                  

b) \t
c) \n                                                       

d) \line

c

Which of the following is called modulus operator?
a) +                                                        

b) %
c) /                                                         

d) –

b

Which operator is used to add to the value of an integer?
a) +                                                        

b) =
c) ++                                                      

d) - -


a

Which operator is used to add 1 to the value of variable after the value of variable used?
a) postfix increment

b) prefix increment
c) modulus operator     

d) binary operator

a