In which file mode can you read from and write to a file simultaneously?

  • append-update mode
  • read-append mode
  • read-write mode
  • read-write-append mode
You can read from and write to a file simultaneously in 'read-write-append mode' ('r+'). It allows both reading and writing operations on the file.
Add your answer
Loading...

Leave a comment

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