Question: what is formatted and unformatted function?
Answer: Unformatted Input/Output is the most basic form of input/output. ... Formatted output converts the internal binary representation of the data to ASCII characters which are written to the output file. Formatted input reads characters from the input file and converts them to internal form.