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.
Low-Level formatting is usually performed by the purchaser of the disk.
<h3>What is low-level formatting?</h3>
Low-Level formatting can be defined as is performed at the factory which electronically creates the hard drive tracks and sectors and tests for bad spots on a disk surface.
Low-level formatting is usually performed by the purchaser of the disk device.
Therefore, B is the correct option.
Learn more about Low-level formatting here:
brainly.com/question/13797778
#SPJ1
Plan out your day and how long it will take you to do everything. then if you still don’t have time, see if there’s anything you can shorten in time