Operator

1. In computer programming and at the command line, an operator is an object that is capable of manipulating a value or operator. For example, in "1 + 2", the "1" and "2" are the operands and the plus symbol is the operator. Below is a listing of common operators found in programming languages with explanations and examples.

OperatorAlternativeExplanation Examples
= EqEquals a = b
== EqEquals a == b
!=Ne Not equal a != b
+ Plus a + b
+= Addition a += b
++ Increment a++
- Minus a - b
-= Subtraction a -= b
-- Decrement a--
/ Divide a / b
* Times a * b
> GtGreater than a > b
<LtLess than a < b
>=GeGreater than or equal toa >= b
<= LeLess than or equal to a <= b
|| orBoolean or a || b
&& andBoolean and a && b

Booleans are also considered operators where AND, OR and NOT can also be used in most programming languages.

2. A person who controls an IRC channel. See the op definition for further information about this term.

Also see: Arithmetic operator, Boolean, Conditional expression, Decrement, Exclamation mark, Increment, Op, Operand, Operator associatively, Operator precedence, Programming definitions