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

Answers

Answer 1
Answer:

Answer:

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.


Related Questions

What happens if a factor analysis item doesn't load on pattern matrix in SPSS?
Which of the following attributes of a website indicates a more reliable source for information?a. Author's information is not listed b. Site ends in ".edu" c. Site contains spelling/grammar errors d. No sources cited
Compare and Contrast - What is your opinion of the new VEX coding software.Do you like or dislike? Is it better or worse? Explain your experience withVEXCode VR. *Your answer
Hard light is usually not good for filming. True False
SRFRAME RKMATE - people from nearby provinces come to buy livestock direct from raisers themselves.

What is a device that encodes an analog signal as a digital signal.?

Answers

Analog to Digital Converter

Brian has a list of customers that needs to be entered into a new database. Before Brian can begin entering records into a database, he must first A. create objects for the database.
B. create a table.
C. enter information into an Excel spreadsheet.
D. create a form to display the customer’s information.

Answers

He must first B. Create a table. 

To create a cover letter to send to potential employers along with a resume, what software program should you use?

Answers

Sending letters is easier when an individual is using an email. Emails are very easy to access, they can be sent twenty four / seven (24/7) and can also be received 24/7. Examples of email programs are yahoo and google websites.

“What does it mean when we “rework” copyrighted material?”

Answers

We use ideas and thoughts that have already been protected by the law which is called Copyright. We reworking copyright material means we are taking somebody's ideas and calling it ours. Which is not right by the law.
reworking copyrighted material, is using the same material and changing it as much as it needs to be changed to call it your own material.

_______ software makes it possible to run multiple operating systems and multiple applications on the same server at the same time.

Answers

Answer: Virtualization

Explanation:

Virtualization software is the software application that has the ability to execute many operating system on one computer or server at the same time. It helps in gaining more output in the form of higher number of processing on the same hardware.

  • It helps in enhancing software testing, saving energy ,maintaining load balancing , backing up data, running various operating system etc.It is also known as hypervisor
  • Example of virtualization software are Microsoft Hyper-V, Xen Projects, Red Hat virtualization etc.

Certificates of indebtedness sold to raise long-term funds for a corporation or government agency are known as _____

Answers

Those are corporate- or government-"bonds".