diff --git a/education/software development/ECE1400/C.md b/education/software development/ECE1400/C.md index 48709bb..a6b82c4 100644 --- a/education/software development/ECE1400/C.md +++ b/education/software development/ECE1400/C.md @@ -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 \ No newline at end of file +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. \ No newline at end of file