Thursday, March 8, 2012

OPERATOR IN C++ Programming Language

The operator is a symbol or character used to be involved in the program to do operation or manipulation.
Example: Addition, subtraction, division and others.

The operator has the properties:
A. unary
Unary properties of the operator only involves an operand in an arithmetic operation. Example: -5
2. binary
Binary properties the operator involves two operands in an arithmetic operation. Example: 4 + 8
3. ternary
Tenary operator properties involve three operands in an arithmetic operation. Example: (10% 3) + 4 + 2


TYPES OF OPERATOR IN C++ LANGUAGE
1. Arithmetic operators
2. Increment and decrement operators
3. Operation Relations (Comparative)
4. Logical operators
5. Bitwise operators

0 comments:

Post a Comment