C programming provides functions to manage files, including opening, reading, writing, and closing files. To open a file, the fopen() function is used, specifying the file name and mode (e.g. read, write, append). Different functions exist to read from and write to files, such as fgetc(), fputs(), fprintf(). Files should be closed with fclose() after operations are complete. Errors can be checked using feof() and ferror(). Random access functions like fseek(), ftell(), rewind() allow accessing arbitrary parts of a file.