vault backup: 2024-10-28 11:15:14
This commit is contained in:
parent
c7e04c17fb
commit
21dd78dedc
@ -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
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user