What potential problem might occur when using fseek and ftell with large binary files?

  • Data corruption
  • Inaccurate file positioning
  • Memory overflow
  • Performance degradation
When working with large binary files, using fseek and ftell may result in inaccurate file positioning. This is because these functions use a single long integer to represent the file position, which may not be sufficient to handle the large offsets required for large files. This can lead to errors in file positioning and unintended behavior in your code.
Add your answer
Loading...

Leave a comment

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