Suppose that outFile is an ofstream variable and output is to be stored in the file outputData.out. Which of the following statements opens the file outputData.out and associates outFile to the output file?

A. outFile("outputData.out");
B. outFile.open("outputData.out");
C. open(outFile,"outputData.out");
D. open.outFile("outputData.out");


Answer: B

Computer Science & Information Technology

You might also like to view...

In the Appendix D of the NIST 800-53 standard, how many sets of minimum security baseline controls are specified?

A. 1 B. 2 C. 3 D. 4

Computer Science & Information Technology

Solve the equations for the variable indicated, in terms of the remaining variable(s).

2x + 4x — 3 = 2x + 5

Computer Science & Information Technology

The honest, open-ended approach is too vague of an approach to begin the communication process.

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

Computer Science & Information Technology

What information would you find in the header of a Transport layer PDU?

A. destination IP address B. cyclic redundancy check C. source MAC address D. window size

Computer Science & Information Technology