Use the istream member function gcount to determine the number of characters input into character array line by the last call to istream member function read, and output that number of characters, using ostream member function write.

What will be an ideal response?

```
cout.write(line, cin.gcount());
```

Computer Science & Information Technology

You might also like to view...

After using Word to develop a research paper, you learn that the marginsyou used are incorrect. You plan to use Word's built-in Help feature to obtain information on how to change margins. Explain the process of obtaining help on the topic

What will be an ideal response?

Computer Science & Information Technology

The process of converting a relative address to an absolute address is called __________.

a. compilation b. interpretation c. dynamic address translation d. none of the above

Computer Science & Information Technology