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

If one object runs into another object in an Alice program, the program will by default ignore the collision event that occurs between the two objects.

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

Computer Science & Information Technology

What will the following statement output?

``` cout << &num1; ``` a. the value stored in the variable named num1 b. the memory address of the variable named num1 c. the number 1 d. the string &num1 e. None of these

Computer Science & Information Technology

A(n) ________ in a database table contains information about one person, event, or transaction

Fill in the blank(s) with correct word

Computer Science & Information Technology

You can use Undo when running an update or delete query

Indicate whether the statement is true or false

Computer Science & Information Technology