vault backup: 2024-09-11 12:31:34

This commit is contained in:
zleyyij 2024-09-11 12:31:34 -06:00
parent 46132a5bcd
commit 3aeeb9dac8

View File

@ -50,9 +50,14 @@ Write a string to standard output. `f` indicates that it's a formatting string.
Printf accepts a variable number of arguments, the first argument is the formatting string, then following arguments are the arguments to be inserted into the string.
TODO: examples
## `scanf`
Read value(s) from stdin.
`scanf` is to stdin as `printf` is to stdout.
The format of the input is specified
The format of the input is specified using [formatting specifiers](#Formatting%20specifiers), and all following arguments are pointers pointing to variables to update.
### Examples
The validity of a `scanf` call is not necessarily checked at compile time, and so the number of outputs specified should match the number of inputs.