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

This commit is contained in:
zleyyij 2024-09-11 12:46:34 -06:00
parent b33cd35a44
commit b460a6eabf
2 changed files with 15 additions and 1 deletions

View File

@ -81,4 +81,8 @@ It will continue to read until it reaches a nondigit (whitespace is not skipped
When asked to read a float, `scanf` searches for one of: When asked to read a float, `scanf` searches for one of:
- A plus sign or minus sign - A plus sign or minus sign
- A series of digits (possibly containing a decimal point), followed by an exponent (optional). An exponent consists of the letter `e` or `E` - A series of digits (possibly containing a decimal point), followed by an exponent (optional). An exponent consists of the letter `e` or `E`, an optional sign, and one or more digits.
`%e`, `%f`, and `%g` all follow the same rules for recognizing floating point numbers.
If an ordinary character is included in the pattern matching string, it will be matched then discarded before proceeding to the next character.

View File

@ -18,3 +18,13 @@ printf("%-6.0f", x);
``` ```
# 3. # 3.
a. Equivalent
b. Equivalent
c. Equivalent
d. Equivalent
# 4.
`i`: `10`
`x`: `5.0`
`j`: `6`