Which of the following I/O functions cannot be used to read a string from a file?

A. scanf
B. gets
C. fgets
D. sscanf


Answer: D

Computer Science & Information Technology

You might also like to view...

The command to use help features of Emacs is:

a: [Ctrl-h] b: [Ctrl-h] k c: [Ctrl-h] t d: [Ctrl-h] i e: all of the above

Computer Science & Information Technology

List several advantages function objects provide over function pointers.

What will be an ideal response?

Computer Science & Information Technology

When tracking changes, comments and formatting changes appear to the right of the document, while addition and deletion marks appear directly in the document in ________

A) All Markup view B) Simple Markup view C) No Markup view D) Display view

Computer Science & Information Technology

The XML declaration does not require a closing tag because ____.

A. the declaration isn't really part of the document B. the browser will fill one in C. closing tags aren't required in XML D. the declaration is an empty element

Computer Science & Information Technology