Closing a file

 Closing a file is performed using a pre-defined method fclose().

 fclose( *f_ptr )

The method fclose() returns '0'on success of file close otherwise it returns EOF (End Of File). 



No comments:

Post a Comment