Operators




Arithmetic Operator:   There are two types of Arithmetic Operator - 

  1. Unary Arithmetic Operator
  2. Binary Arithmetic Operator
Unary Arithmetic Operator: The arithmetic operator that works on a single operand are known as UNARY ARITHMETIC OPERATOR.
For Example: +a,-a.
Means ' + ' & ' - ' are the Unary Arithmetic Operator. 

Binary Arithmetic Operator:  The arithmetic operator that works on two operands are known as Binary Arithmetic Operator.
There are six type of Binary Operator:
Operator Name                                   Symbol                                                 Working
Plus                                                        +                                  Add two numeric values
Minus                                                      -                                  Subtract two numeric values
Slash                                                      /                                  Divide two numeric values and return quotient 
Asterisk                                                  *                                  Multiply two numeric values and return product
Mod                                                       %                                 Divide two numeric values and return reminder



Avinash Singh

My name is Avinash Singh. I am a Computer Teacher cum Software Developer. For more detail you can visit on my company web site: http://e-visiontechnocraft.co.in

Post a Comment

Please Select Embedded Mode To Show The Comment System.*

Previous Post Next Post