How can we determine whether a file is successfully opened or not using fopen() function?

1 Answer(s)

On failure fopen() returns NULL, otherwise opened successfully.

Supporter Answered on August 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.