difference between formatted and unformatted input output functions in c examples
Answers
Answered by
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
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
Math,
7 months ago
Science,
7 months ago
English,
7 months ago
Computer Science,
1 year ago
English,
1 year ago