In the context of file handling, what is the advantage of using binary files over text files?

  • Data preservation
  • Human readability
  • Portability
  • Smaller file size
One of the advantages of using binary files over text files in file handling is data preservation. Binary files store data as a sequence of bytes, preserving the exact representation of data without any character encoding or formatting. This makes them suitable for storing complex data structures and preserving data integrity.
Add your answer
Loading...

Leave a comment

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