Which of the following creates an object named outPayroll that represents an output file in the program?

Question:

Which of the following creates an object named outPayroll that represents an output file in the program? 

a. fstream outPayroll; 

b. ofstream outPayroll; 

c. outPayroll as ofstream; 

d. outPayroll as outstream;

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: