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.

Divya samunuru said:   1 decade ago
Please give me detailed explanation.

Vak said:   1 decade ago
This question is ambiguous, if you write a string "10 10 10" with fwrite you can read with "%d %d %d".


Post your comments here:

Your comments will be displayed after verification.