What format specifier lets us write Strings using printf
?
How do we specify minimum field width & an amount of characters to print out using printf
?
What other C99 Standard Library Function can write Strings? What’s the syntax?
How do we read Strings using scanf
? What variable does it need to store into?
How to read an entire line of input since scanf
doesn’t read white space? What’s the syntax?
Common Pitfall: scanf
& gets
have no way of determining if an array is full.
What should we consider when making our own functions for reading strings?