Examples of infix operators include:
* [[Arithmetic]]: such as addition, <code>a+b</code>
* [[Relational operator|relationalRelational]]: such as [[Greater-than sign|greater than]], <code>a>b</code>
* [[Mathematical logic|Logic]]: such as <code>a AND b</code> or <code>a&&b</code>
* [[Assignment (computer science)|Assignment]]: such as <code>a=b</code> or <code>a:=b</code>
Less common operators include:
* [[Comma operator|Comma]]: <code>e, f</code>
* [[Dereference operator|Dereference]]: <code>*p</code> * and addressAddress-of operator: <code>&x</code>
* [[?:]]Ternary orconditional ternaryoperator|Ternary operatorconditional]]: <code>number = spell_out_numberscondition ? "forty-two"a '':'' 42b</code>
** [[Elvis operator|Elvis]]: <code>x ?: y</code>
* [[Null coalescing operator|Null coalesing]]: <code>x ?? y</code>
* [[SpaceshipThree-way operatorcomparison]] (foraka [[three-way comparison]]spaceship): <code>x <=> y</code>
* {{anchor|Compound operator|Fused operation}} [[Compound operator]]s<!-- This should probably become a separate article at a later stage --> combining two or more [[atomic operation]]s into one to simplify [[compound expression|expression]]s, ease compiler optimizations depending on the underlying hardware implementation, or improve performance for speed or size. An example are the set of [[compound assignment operator]]s (aka augmented assignments) in C/C++: <code>+=</code>, <code>-=</code>, <code>*=</code>, <code>/=</code>, <code>%=</code>, <code><<=</code>, <code>>>=</code>, <code>&=</code>, <code>^=</code>, <code>|=</code> Similarly, some [[digital signal processor]]s provide special [[opcode]]s for [[fused operation]]s<!-- This should probably become a separate article at a later stage, possibly combined with the similar topic on compound operations --> like [[multiply–accumulate]] (MAC/MAD) or [[fused multiply–add]] (FMA) and some high-performance software libraries support functions like [[cis (mathematics)|{{math|1=cis ''x'' = cos ''x'' + ''i'' sin ''x''}}]] to boost processing speed or reduce code size.
== Operator features in programming languages ==
|