The function ________ can be used to determine the size of a file in C.

  • size()
  • filesize()
  • file_size()
  • fsize()
The correct option is fsize(). The fsize() function is commonly used in C to determine the size of a file by positioning the file pointer at the end and then retrieving the position.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *