Types of Operators in C++ programming
Operators are special symbols used for specific purposes. Operators are a special type of function, that takes one or more arguments and produces a new value.
1. Unary Operators –
Unary operators are called operators who perform tasks with single operand as increment decrement operators.
Ex: a++, a–, ++aa,–a
2. Binary Operators –
Binary operators are called such operators who need two operands to perform the task. Such as: Arithmetic operator (+, -, *, /), Relational Operator (>, <,> =, <=) etc.
3. Ternary Operators –
Ternary operators are called such operators who require three operands. It is used in decision making. Like ? : ;