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...

Unlike borders, outlines also can be non-rectangular in shape.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

It is best to use full sentences on slides in a presentation

Indicate whether the statement is true or false

Computer Science & Information Technology

The prior experience method to make time and cost estimates works best for large projects.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

How many records do most forms display?

A. 0 (Forms don't display records) B. 1 C. 2 D. All the records at the same time

Computer Science & Information Technology