The statement that is true is when opening a file, you can specify the name of the file as either a pointer-based string or a string object.
The String object is known to be that which gives one the ability to work with a numbers of characters.
Note that The statement that is true is when opening a file, you can specify the name of the file as either a pointer-based string or a string object as it is the right option.
Learn more about file from
https://brainly.com/question/26125959
#SPJ1