C Programming - Library Functions - Discussion

Discussion Forum : Library Functions - True / False Questions (Q.No. 4)
4.
Data written into a file using fwrite() can be read back using fscanf()
True
False
Answer: Option
Explanation:

fwrite() - Unformatted write in to a file.
fscanf() - Formatted read from a file.

Discussion:
12 comments Page 2 of 2.

Liyo said:   8 years ago
fwrite() stresses Unformatted, but fscanf() stresses formatted.

Jon said:   8 years ago
You can write a file using fwrite that is appropriate for reading using fscanf.


Post your comments here:

Your comments will be displayed after verification.