Assuming dataFile is an ofstream object associated with a disk file named payroll.dat, which of the following statements would write the value of the salary variable to the file?
A) cout << salary; C) dataFile << salary;
B) ofstream << salary; D) payroll.dat << salary;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.