Playing With Characters

  • + 0 comments

    It is used to skip any leading whitespace characters (such as spaces, tabs, or newline characters) in the input before attempting to read the specified data. Including a space before the format specifier in scanf helps in ignoring any leading whitespace in the input.