Q. What is the need for closing a file in C language?

  • (A) fclose(fp) closes a file to release the memory used in opening a file.
  • (B) Closing a file clears Buffer contents from RAM or memory.
  • (C) Unclosed files occupy memory and PC hangs when on low memory.
  • (D) All the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All the above

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
239
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
98%
Success Rate