Which of the following is a difference between the read and write functions?

a. One performs formatted I/O and the other does not.
b. They take different types of parameters.
c. write and gcount are member functions of the same class, whereas read is not.
d. The failbit is set only with read.


d. The failbit is set only with read.

Computer Science & Information Technology

You might also like to view...

What is wrong in the following code?

``` #include #include using namespace std; int main() { vector v; cout << v[0]; return 0; } ``` A. The program has a runtime error on vector v. B. The program has a runtime error on v[0], because the vector is empty. C. The program has a syntax error on vector v. D. The program has a syntax error on v[0].

Computer Science & Information Technology

What functions and features are included in Backstage View?

What will be an ideal response?

Computer Science & Information Technology

A(n) ____________________ is an automation task that stores a series of commands and keystrokes for repeated use later.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

________ profiles require a network server for implementation

a. Local and temporary b. Roaming and temporary c. Mandatory and roaming d. Roaming and local

Computer Science & Information Technology