Which of the following statements is true? When opening a file, you can specify the name of the file only as a pointer-based string. When opening a file, you can specify the name of the file only as a string object. When opening a file, you can specify the name of the file as either a pointer-based string or a string object. None of these.

Respuesta :

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.

What is 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

ACCESS MORE