Arithmetic Operator

Arithmetic Operators

 

Arithmetic operators are used in mathematical expressions in the same way that they are used in algebra. The following table lists the arithmetic operators .

 

Assume 

int A = 10;

int B = 20;