vault backup: 2024-09-11 15:15:49

This commit is contained in:
zleyyij 2024-09-11 15:15:49 -06:00
parent c8d567367d
commit 6235b9c390

View File

@ -15,4 +15,13 @@ C provides 5 binary arithmetic operator (arithmetic meaning it requires two thin
Unary operators only require *one* thing to operate on. Unary operators only require *one* thing to operate on.
- Positive and minus signs - Positive and minus signs
Positive and negative signs have a higher precedence then binary arithmetic operations, and binary arithmetic operations follow the normal order of operations. Positive and negative signs have a higher precedence then binary arithmetic operations, and binary arithmetic operations follow the normal order of operations.
## Assignment Operators
- Simple assignment: `=` stores a value into a variable after evaluating an expression
```c
int v;
int e = 5;
// Simple assignment
v = e;
```