> 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/binary-operators.md).

# Binary Operators

Binary operators associate from left to right. CLight provides the following binary operators:

| Symbol                                              | Name                     |
| --------------------------------------------------- | ------------------------ |
| **`*`** **`/`** **`%`**                             | Multiplicative operators |
| **`+`** **`-`**                                     | Additive operators       |
| **`<`** **`>`** **`<=`** **`>=`** **`==`** **`!=`** | Relational operators     |

## Syntax

*`binary-operator`*:  **`+`**  **`-`**  **`*`**  **`/`**  **`%`**  **`==`**  **`!=`**  **`<`**  **`<=`**  **`>`**  **`>=`**

## Example

```c
4 + 3
7 != 1
0 == 2
```
