Ask Question
28 August, 11:52

With "read" function, which one of the following statements is NOT correct? a. If the read is successful, the number of bytes read is returned. b. If the end of file is encountered, 0 is returned. c. The number of bytes actually read is always same as the amount requested for a successful read. d. The read operation starts at the file's current offset. e. Before a successful return, the offset is incremented by the number of bytes actually read

+4
Answers (1)
  1. 28 August, 12:22
    0
    a. If the read is successful, the number of bytes read is returned.

    b. If the end of file is encountered, 0 is returned.

    Explanation:

    A read function is one of the functions used in computer programming. A read function is used to read an information or data that was written before into a file.

    If any portion of a regular file before to the end of file has not been written and the end of file is encountered the read function will return the bytes with value 0.

    If read function has read some data successfully, it returns the number of bytes it read.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “With "read" function, which one of the following statements is NOT correct? a. If the read is successful, the number of bytes read is ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers