Which of the following statements writes the contents of the city and state variables to an output file named address.txt? The file is associated with the outFile object.
a. address.txt << city << state << endl;
b. ofstream << city << state << endl;
c. outFile >> city >> state >> endl;
d. outFile << city << '#' << state << endl;
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.