Q. Which standard function writes to a file?

  • (A) fprintf()
  • (B) printf()
  • (C) scanf()
  • (D) cin
πŸ’¬ Discuss
βœ… Correct Answer: (A) fprintf()
Explanation: fprintf() is used to print formatted output to a file.
Explanation by: Mr. Dubey
fprintf() is used to print formatted output to a file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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