What is used to get the current position of file pointer in a file

  1. get_pos()
  2. tellp()
    3.tell_pos()
    4.get_p()

@alakhprivate
ftell() in C
In C language, ftell() returns the current file position of the specified stream with respect to the starting of the file . This function is used to get the total size of file after moving the file pointer at the end of the file .
dont forget to hit like and mark resolved if cleared :smiley:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.