This is about C++ programming. A.Given an ofstream object named output, associate it with a file named year summary.txt for output in a way that truncates (erases) any existing data in the file.B.Given an ofstream object named output, associate it with file named years ummary.txt by opening the file for appending.C.Given an ifstream object named input, associate it with a file named hostdata by opening the file for input.

Respuesta :