Q. Which function allows you to read structured data from a file?

  • (A) fread()
  • (B) scanf()
  • (C) gets()
  • (D) printf()
πŸ’¬ Discuss
βœ… Correct Answer: (A) fread()
Explanation: fread() is used for binary input from a file, suitable for structs.
Explanation by: Mr. Dubey
fread() is used for binary input from a file, suitable for structs.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
90
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate