In computer programming, operators are constructs defined within programming languages which behave generally like functions, but which differ syntactically or semantically.
> Example: MATH +, -, *, /, % (remainder from /), ** (exponentiate), log, etc. ASSIGNMENT = > < ≤ ≥ and or either/or
Common simple examples include **arithmetic** (e.g. addition with +), **comparison** (e.g. "greater than" with >), and **logical operations** (e.g. AND, also written && in some languages).
More involved examples include **assignment** (usually = or :=), **field access** in a record or object (usually .), and the **scope resolution** operator (often :: or .). Languages usually define a set of built-in operators, and in some cases allow users to add new meanings to existing operators or even define completely new operators.
Semantically operators can be seen as special form of function with different calling notation and a limited number of parameters (usually 1 or 2).
https://en.m.wikipedia.org/wiki/Operator_(computer_programming)
HEIGHT 600
Wikipedia ![]()