OPERATORS in C - C-Tutorial

Latest

Wednesday, 16 November 2016

OPERATORS in C

OPERATORS AND EXPRESSIONS


An expression is a combination of operators and operands.  An operator is a symbol that tells the compiler to perform certain mathematical and logical manipulations.  An operand is a data item on which the particular operation takes place.

Example: x + y = 10;

Here,
x, y and 10 are operands ; + and = are operators

In C language, operators can be classified into different categories such as:

TYPES OF C OPERATORS:

C language offers many types of operators. They are,

1. Assignment operators
2. Arithmetic operators
3. Relational operators
4. Logical operators
5. Conditional operators (ternary operators)
6. Increment/decrement operators
7. Bit wise operators
8. Special operators

No comments:

Post a Comment