Which of the following statements about a file error state is false?

A. We can test the error status of a file using ferror.
B. A file is put into the error state when an attempt is made to read a file in the write mode.
C. A file is put into the error state when an open fails.
D. Executing any file positioning function resets the file in a non-error state.
E. A file in the error state cannot be read from or written to.


Answer: D

Computer Science & Information Technology

You might also like to view...

To decide the quickest, most efficient path for a packet to reach its destination, a(n) ____________________ is maintained within a router.?

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The _________ properties are defined in the javafx.scene.shape.Line class.

a. x1 b. x2 c. y1 d. y2 e. strikethrough

Computer Science & Information Technology

The use of the AND operator requires that both conditions must be met in order for records to be included in the results

Indicate whether the statement is true or false

Computer Science & Information Technology

What are the benefits of creating multi-table queries?

What will be an ideal response?

Computer Science & Information Technology