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...

Which property ensures that either all operations are complete, or the database changes are rolled back?

A. Consistency B. Atomicity C. Isolation D. Durability

Computer Science & Information Technology

Which of the following hardware cards allows the full functionality of the Windows XP Media Center radio option?

A. Modem B. Video C. TV tuner D. NIC

Computer Science & Information Technology