MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following statements opens a file named temp.dat for output? |
| A. | outFile.open("temp .dat"); |
| B. | fileOut.output("temp .dat"); |
| C. | openFile.out("temp .dat"); |
| D. | fileOpen.out("temp .dat"); |
| Answer» B. fileOut.output("temp .dat"); | |