To write data to a file, you define an object of the __________ data type.

a. outputFile
b. ifstream
c. fstream
d. ofstream

d. ofstream

Computer Science & Information Technology

You might also like to view...

Arrays are allocated with the keyword .

a) new b) array c) table d) None of the above.

Computer Science & Information Technology

Which statement would be used to declare a 10-element integer array c?

a. array c = int[ 10 ]; b. c = int[ 10 ]; c. int array c[ 10 ]; d. int c[ 10 ];

Computer Science & Information Technology