Which of the following are restrictions on use of a stream variable (either ifstream or ofstream)

a) To use a stream variable as a function parameter you can use call-by-value or call-
by-value.
b) To use a stream variable as a function parameter you can only use call-by-value.
c) To use a stream variable as a function parameter you can only use call-by-
reference.
d) You cannot assign a stream variable.
e) A file variable can be used in any way any other variable can be use.


c) To use a stream variable as a function parameter you can only use call-by-
reference.
d) You cannot assign a stream variable.

Computer Science & Information Technology

You might also like to view...

Data cannot be stolen directly from a computer on the Internet

Indicate whether the statement is true or false

Computer Science & Information Technology

Typically, what type of borders are used to set off the title and subtitle from the headings and to set off headings from the table body?

A) Double-lined B) Horizontal C) Colored D) Vertical

Computer Science & Information Technology

Give a brief explanation of a computer forensics lab auditing process.

What will be an ideal response?

Computer Science & Information Technology

Using the utilitarians' criterion requires subjective judgments. _________________________

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

Computer Science & Information Technology