1.

Analyses the following .statements and write True or False. Justify i) There* is an Operator in C++ having no special character in it ii) An operator cannot have more than 2 operands iii) Comma operator has the lowest precedence iv) All logical operators are binary in nature v) It is not possible to assign the constant 5 to 10 different variables using a single C++ expression vi) In type promotion the operands with lower data , type will be converted to the highest data type in expression.

Answer»

i) True (size of operator) 

ii) False( conditional operator can have 3 operands 

iii) True 

iv) False 

v) False(Multiple assignment is possible,

eg: a=b=c=…..= 5 

vi) True



Discussion

No Comment Found