vault backup: 2024-10-28 11:10:14
This commit is contained in:
parent
5325bb45e2
commit
c7e04c17fb
@ -52,7 +52,13 @@ int arr_size = sizeof(arr) / sizeof(arr[0]);
|
||||
`&` gives you the address of a variable
|
||||
`*` gives you the value in memory that an address points to.
|
||||
|
||||
To update the value a pointer points at, you can dereference on the left hand side of the assignment operator:
|
||||
```c
|
||||
// Update the value `p` points at to be 7
|
||||
*p = 7;
|
||||
```
|
||||
|
||||
Because of how operator preci works
|
||||
# Formatting specifiers
|
||||
# Standard library
|
||||
## Formatting specifiers
|
||||
|
Loading…
Reference in New Issue
Block a user