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:
  1.            Arithmetic operators
  2.     .      Relational operators
  3.     .       Logical operators
  4.       .     Assignment operators
  5.       .     Increment and Decrement operators
  6.             Conditional operators
  7.      .       Bitwise operators
  8.       .      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.

Previous                                                                                     Next

Powered by Blogger.