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

Communication that does not require wires or cables for transmission of EM waves is called ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

The keyboard shortcut for inserting a page break is ________

A) Shift+Enter B) Ctrl+Enter C) Alt+Enter D) Alt+Shift+Enter

Computer Science & Information Technology

Which of the following increases or decreases how crisp the objects in a photo appear?

A. sharpness B. crispness C. brightness D. contrast

Computer Science & Information Technology

What are some examples of indirect costs to organizations that have security breaches? (Select all that apply)

- Lost productivity - Damaged public trust - Repeating medical procedures - Remediation costs

Computer Science & Information Technology