Which of the following is the data type that can be used to create files and write information to them but cannot be used to read information from them?

a. ofstream
b. ifstream
c. afstream
d. outstream
e. None of these


a. ofstream

Computer Science & Information Technology

You might also like to view...

NFC is a method used to read magnetic strips on plastic cards, such as a credit card

Indicate whether the statement is true or false

Computer Science & Information Technology

Making a copy of your files and storing it somewhere else in case something happens to the original files is known as ________ your files

Fill in the blank(s) with correct word

Computer Science & Information Technology

Once a global variable is created, it exists until ____.

A. control is returned to the calling function B. the program in which it is declared is finished running C. control is returned to the called function D. the computer is turned off

Computer Science & Information Technology

The style definition for headings usually includes a setting to keep the heading on the same page as the ____ in the next paragraph.

A. first line B. last line C. either a. or b. D. neither a. nor b.

Computer Science & Information Technology