Contents

Which of the following are examples of implicit type casting?
a) char + float              
b) int – long
c) int * double             
d) all of these

d

Which of the following is performed by programmer using cast operator?
a) implicit type casting             
b) explicit type casting
c) exploit type casting
d) none of these

b

Which of the following is the correct format of explicit type casting?
a) (type) expression     
b) (type) expression;
c) # expression
d) @expression

b

Input/Output Handling


Which of the following object is used for producing output on a standard output device?
a) cout                        
b) cin
c) endl                         
d) none of these

a

Which of the following operator is used with standard output (cout)?
a) assignment operator (=)        
b) insertion operator (<<)
c) AND operator (&&)
d) OR operator (^^)

b