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.

Answer: D

Computer Science & Information Technology

You might also like to view...

To create a TextField control, you use the __________ class which is in the __________ package.

a. TextField, javafx.text.control b. TextField, javafx.scene.control c. TextBox, javafx.scene.control d. TextField, javafx.textfield

Computer Science & Information Technology

Network access in 802.11 uses a technique where the client station listens for other users of the wireless network. If the channel is quiet (no data transmission), the client station can transmit. If the channel is busy, the station(s) must wait until transmission stops. Each client station uses a unique random back-off time.

What will be an ideal response?

Computer Science & Information Technology