---
name: "operator"
section: "7"
platform: "macos"
package: "files"
version: "974.120.2"
release: "macOS 26.5"
platforms: ["linux", "freebsd", "openbsd", "macos"]
url: "https://new.carta.tech/operator"
---

# operator(7)

C operator precedence and order of evaluation

## NAME

**operator** – C operator precedence and order of evaluation

## DESCRIPTION

| |
| --- |
| Operator Associativity |
| -------- ------------- |
| () \[\] -\>. left to right |
| ! ~ ++ -- + - (type) \* & sizeof right to left |
| \* / % left to right |
| + - left to right |
| \<\< \>\> left to right |
| \< \<= \> \>= left to right |
| == != left to right |
| & left to right |
| ^ left to right |
| \| left to right |
| && left to right |
| \|\| left to right |
| ?: right to left |
| = += -= etc. right to left |
| , left to right |

## FILES

- */usr/share/misc/operator*
