20.02.2013, 17:11
Because, the 7 defines the specifier's length. Without this, sscanf should return an error when you attempt to use it. You don't need 128/256 because none of the options you provided have a character length of over 6. You ALWAYS add +1 to the string size to account for the null terminator.