Questions tagged

operators

Operators are symbols that occur in nearly all programming and coding languages, for performing calculations and comparisons on data.

There are three main types of operators:

**Arithmetic operators**such as add (+), subtract (-), times (*), divide (/) and other numerical calculations.**Comparison operators**, which give the result of a comparison between numbers or strings, for example greater than (>), less than (<), equal to (==).**Logical operators**include things like AND (&&) and OR (||).

There are other operators, such as assignment and concatenation.

Use this tag for any questions relating to operators, in any language, including things such as syntax, behaviour and use.