Computer Science, asked by akash6923, 1 year ago

difference between formatted and unformatted input output functions in c examples

Answers

Answered by Harshacj
14
Unformatted Input/Output is the most basic form of input/output. Unformatted input/output transfers the internal binary representation of the data directly between memory and the file. Formatted output converts the internal binary representation of the data to ASCII characters which are written to the output file.
Answered by dahalmanohar
9

The formatted input/output helps the user to input and output in a certain format as specified (for example, if you want to scan a string up to 50 characters and print it right justified or in a tabular format, then you ought to go for formatted input output), whereas the un-formatted  i/o can't be in specified format, it is the most preliminary i/o just used to take inputs and show outputs without any specified format.

Similar questions