Contents

In if statement, false is represented by…
a) 0                        
b) 1                        
c) 2                        
d) 3

a

In if statement, true is represented by…
a) 0                        
b) 1                        
c) 2                        
d) 3

b

The statement written in the body of …… are executed if the test expression is false.
a) if        
b) else   
c) case   
d) break

b

Which of the following known as conditional operator?
a) ternary operator  
b) binary operator
c) assignment operator
d) unary operator

a

The conditional operator takes……. Operands.
a) 3                        
b) 2                        
c) 1                        
d) 5

a

Which operator in C++ is called ternary operator?
a) if        
b) ++      
c) ?                        
d) ()

a