Which of the following statements is true?
A) When opening a file, you can specify the name of the file only as a pointer-based string.
B) When opening a file, you can specify the name of the file only as a string object.
C) When opening a file, you can specify the name of the file as either a pointer-based string or a string object.
D) None of the above.
Correct Answer:
Verified
Q9: Select the false statement.
A) C++ imposes no
Q10: The new C++14 stream manipulator _ enables
Q11: Select the false statement. The write function:
A)
Q12: Select the proper object type. _ file("file.dat",
Q13: A random access file is organized most
Q14: In order to perform file processing in
Q15: For an ifstream object A, a class
Q16: Select the false statement. The reinterpret_cast operator:
A)
Q17: When used with ofstream objects, operator! is
Q19: Which of the following is not a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents