Contents

What is the associativity of arithmetic operators?
a) right to left                       
b) left to right
c) both a & b                       
d) none of these

b

What is the associativity of compound arithmetic and logical operators?
a) right to left                     
b) left to right
c) both a & b                       
d) none of these

a

The expression that involves more than one sub-expression linked with operators is called….
a) constant expression                       
b) compound expression
c) float expression              
d) pointer expression

b

In C++ language char Ch=’3’ represents
a) digit                                   
b) integer constant
c) character constant        
d) word

c

What is the example of constant expression?
a) z=43                                 
b) x*y-5
c) float(10)                           
d) ptr++

a

Which of the following expression that produce the integer value as output?
a) constant expression       
b) integral expression
c) float expression              
d) pointer expression

b