Which of the following statements restores the stream referenced by infile to a state permitting additional input after it has had an input failure?

a. infile.fail();
b. infile.restore();
c. infile.clear();
d. infile >> clear;


c. infile.clear();

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT true about Parvati's web search?

A. The more descriptive the search text, the easier it will be to locate the desired search results. B. The search engine may provide search text suggestions as she types. C. To display the website of the search result, click it in the list. D. She will enter the desired search text in the Query box.

Computer Science & Information Technology

A virus that remains dormant until a specific condition is met, such as the changing of a file or a match of the current date is known as what type of malware?

a. encrypted virus b. logic bomb c. boot sector virus d. worm

Computer Science & Information Technology

Which of the following is true about lists?

A. items must be sorted B. items must be physically contiguous C. the order of items is unimportant D. items are logically contiguous

Computer Science & Information Technology

Which type of operating system would be best when implementing a new computing system for an industrial plant that will require an accurate system to receive and process inputs, and calculate the expected outputs in a specified period?

A. real-time B. time-sharing C. multiuser D. client/server

Computer Science & Information Technology