Assuming outFile is a file stream object and number is a variable, which statement writes the contents of number to the file associated with outFile?

a. write(outFile, number);
b. outFile >> number;
c. outFile << number;
d. number >> outFile;

c. outFile << number;

Computer Science & Information Technology

You might also like to view...

________ laws protect the public, human life, or private property

Fill in the blank(s) with correct word

Computer Science & Information Technology

Groups can't _____.

A. be nested more than 3 levels B. be nested at all C. be nested more than 4 levels D. be nested more than 2 levels

Computer Science & Information Technology