Contents

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

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

c

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

d

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

a

Which of the following expression that combines two or more relational expressions and produce bool type?
a) constant expression              
b) integral expression
c) logical expression   
d) pointer expression

c