Differentiate between a unary, a binary and a ternary operator. Give examples of C++ Operators for each one of them.
Unary operators have only one operand (eg) c++. Binary operators have two operands (eg) +, -, Ternary operators have three operands (eg) ?