Opeartors

The symbols which are used to do some mathematical or logical operations are called as “Operators”. The data items or values that the oper ators act upon are called as “Operands”.

operators example

So you have got to know what is ment by operands or operators . So lets learn the types of operators in cpp


In C++, The operators are classified on the basis of the number of operands.


  1. Unary operators:Requires only one operand.
  2. Binary operators:Requires two operands.
  3. Ternary operators:Requires three operands.