> For the complete documentation index, see [llms.txt](https://glados-2.gitbook.io/clight/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://glados-2.gitbook.io/clight/reference/expressions-and-assignments/assignement-operators.md).

# Assignement Operators

An assignment operation assigns the value of the right-hand operand to the storage location named by the left-hand operand.

| Symbol                  | Name                                 |
| ----------------------- | ------------------------------------ |
| **`=`**                 | Simple assignement operator          |
| **`*`** **`/`** **`%`** | Multiplicative assignement operators |
| **`+`** **`-`**         | Additive assignement operators       |

## Syntax <a href="#syntax" id="syntax"></a>

*`assignment-operator`*: **`=`** **`*=`** **`/=`** **`%=`** **`+=`** **`-=`**

## Example

<pre class="language-c"><code class="lang-c">int a = 1;
<strong>a += 1;
</strong>a *= a;
</code></pre>
