1.

Differentiate between a unary, a binary and a ternary operator. Give examples of C++ Operators for each one of them.

Answer»

Unary operators have only one operand (eg) c++. Binary operators have two operands (eg) +, -, Ternary operators have three operands (eg) ? 



Discussion

No Comment Found

Related InterviewSolutions