ftell()

The ftell() function returns the byte location where file_pointer is currently pointing at the file. Here is its syntax:

long int ftell(FILE *file_pointer)

Here, file_pointer is a file pointer pointing at the file.