Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Scanf format
string refers to a control parameter used by a class of functions
typically associated with some types of programming languages. The
format string specifies a method for reading a string into an arbitrary
number of varied data type parameter. The input string is by default
read from the standard input, but variants exist that read the input
from other sources. The scanf function, which is found in C, reads input
for numbers and other datatypes from standard input. No matter what the
datatype the programmer wants the program to read, the arguments must be
pointers pointing to memory. Otherwise, the function will not perform
correctly because it will be attempting to overwrite the wrong sections
of memory, rather than pointing to the memory location of the variable
you are attempting to get input for.