Arithemetic Operators

Arithmetic operators are those operators which can perform arithmetic operations like addition, subtraction, multiplication etc. Mostly arithmetic operators are used in all the computes languages. These operators were designed at the time of the Abacus computing machine. There are mainly five arithmetic operators in the C programming language. These are as follows-

Arithmetic Operators
Operator Meaning
+ Addition
* Multiplication
% Modulus(remainder)
/ Division

For example, Suppose a & b are two variables, then arithmetic operators used for different operations are:

Arithmetic Operations
a*b Multiplication of a with b
a+b Addition of a and b
a/b Division of a by b
a%b To find modulo(remainder) of a with b
a-b subtraction of b from a

So this way you are use the arithmetic operators to perform the arithmetic operations in the C programming language.

yashan has written 69 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>