Introduction:
C
supports a rich set of built – in operators. We have already used several of
them, such as =, +, -, *, & and <. An operator is a symbol that tells
the computer to perform certain mathematical or logical manipulations.
Operators are used in programs to manipulate data and variables. They usually
form a part of the mathematical or logical expressions.
C
operators can be classified into a number of categories. They include:
- Arithmetic operators
- . Relational operators
- . Logical operators
- . Assignment operators
- . Increment and Decrement operators
- Conditional operators
- . Bitwise operators
- . Special operators
An
expression is a sequence of operands and operators that reduces to a single
value. For Example:
20+2
is
an expression whose value is 25. The value can be any type other than void.
Post a Comment