The maximum field width specified in the control string in scanf() function specifies the maxium number of characters that can be read into the variable.
scanf()