1.

In C++ what type of operator is a cast operator?(a) Unary(b) Binary(c) Ternary(d) QuaternaryThis question was addressed to me in an interview.My question is from Type Conversions in chapter Arduino Programming of Arduino

Answer»

Correct answer is (a) Unary

Best explanation: The cast OPERATOR is a unary operator which is used to convert one data TYPE into ANOTHER FORCEFULLY. One example is:



Discussion

No Comment Found

Related InterviewSolutions