C Language

C Programming – Dealing with files – How to use open function to open a file?

We have discussed that ‘C’ provides buffered and un-buffered functions for file management. We have already discussed some of the buffered functions in our previous articles; “C Programming – Dealing with files – How to read from a file?“, “C Programming – Dealing with files – How to write to the file?” and “C Programming – Dealing […]

C Programming – Dealing with files – How to read from a file?

C library provides good number of file handling functions to deal with files and directories / folders. Generally we can classify these functions as: Buffered functions and Un-buffered functions. Un-buffered functions are the raw functions deals directly with storage devices. Whereas, buffered functions maintains memory buffers to improve the performance and reduce the number of […]

Scroll to top