320,305 views
27 votes
27 votes
Which of the following is true for creating a new file?

a. ifstream objects do not create a new file.
b. create a file with the same name as an existing file, you will be prompted to rename your new file.
c. files cannot be created using the fstream library
d. None

User Ricardo Gaefke
by
2.7k points

1 Answer

30 votes
30 votes

Answer:

create a file with the same name as an existing file ,you will be prompted to rename your new file

User ISeeker
by
3.1k points