vault backup: 2024-10-28 11:15:14

This commit is contained in:
zleyyij 2024-10-28 11:15:14 -06:00
parent c7e04c17fb
commit 21dd78dedc
2 changed files with 6 additions and 2 deletions

View File

@ -58,7 +58,11 @@ To update the value a pointer points at, you can dereference on the left hand si
*p = 7;
```
Because of how operator preci works
Because of how operator precedence works, parentheses should be placed around the dereference operator and the variable
```c
// Increment the value pointed to by `p`
(*p)++;
```
# Formatting specifiers
# Standard library
## Formatting specifiers

View File

@ -24,4 +24,4 @@ The following expressions are illegal because of mismatched types:
- (a) `p == a[0]` - Comparison between `int *` and `int`
The rest of the expressions are true.
8.'
8.