Arithmetic Operators:
The
Arithmetic operators are used for mathematical calculations. The arithmetic
operators are binary operators that work with integers, floating- point numbers
and even characters (i.e. they can be used with any basic type).
These
are five arithmetic operators are available in C:
The
operands acted upon by arithmetic operators must represent numeric values. Thus
the operands can be integer quantities, floating- point quantities or
characters. Arithmetic operators when used on characters operate on ASCII
values of characters.
Following
table represent arithmetic operators in order of precedence:
Post a Comment