What is ftell() function in C programming?
Jan 14, 2023
The ftell() function returns the current file position of the specified stream. We can use the ftell() function to get the total size of a file after moving the file pointer at the end of the file. We can use SEEK_END constant to move the file pointer at the end of the file.
Syntax:
long int ftell(FILE *stream)
Learn more about the ftell() function in C programming.