Ticker

6/recent/ticker-posts

C Language (File handling functions in c)

FILE HANDLING FUNCTIONS IN C

File handling functions are used to perform different types of tasks and there are different types of file handling functions in C programming language, which mentioned below.





File function
description
fopen()
To create a new file or open an existing file
fclose()
To closes a file
getc()
To reads a character from a file
putc()
To writes a character to a file
fscanf()
To reads a set of data from a file
fprintf()
To writes a set of data to a file
getw()
To reads a integer from a file
putw()
To writes a integer to a file
fseek()
To set the position to desire point
ftell()
To gives current position in the file
rewind()
To set the position to the beginning point














Post a Comment

0 Comments