πŸ“Š C Programming
Q. Which function is used to close an opened file in C?
  • (A) close()
  • (B) fclose()
  • (C) file_close()
  • (D) fileclose()
πŸ’¬ Discuss
βœ… Correct Answer: (B) fclose()

Explanation: In C programming language, the fclose() function is used to close an opened file.

Syntax:

fclose(file_pointer);

Explanation by: Team MCQ Buddy
In C programming language, the fclose() function is used to close an opened file.

Syntax:

fclose(file_pointer);

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
192
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
82%
Success Rate