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

1. We use the dot notation with eof because it is a member function of a class.
2. The following statements are equivalent:
cin.get (ch);
cin >> ch;
3. You do not need prompts when reading from an external file.
4. What will inFile.fail( ) return if the file associated with the stream inFile cannot be opened?
5. A file stream should always be passed as a value parameter.


1. True
2. False
3. True
4. True
5. False

Computer Science & Information Technology

You might also like to view...

The Undo command can be used to restore records removed by a delete query.

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

Computer Science & Information Technology

Which of the following relative pathnames is interpreted as "the rock.htm file is in the same folder as the current file"?

A. /rock.htm B. ./rock.htm C. ../rock.htm D. rock.htm

Computer Science & Information Technology

A selected anchor point is indicated by a ____.

a. hollow square b. solid square c. double arrow d. hollow arrow

Computer Science & Information Technology

The a(n) ________ the smallest unit of measurement in typography

Fill in the blank(s) with correct word

Computer Science & Information Technology