← Back to Question List
C++ Quiz #72
Testing If a File Opened Successfully
After opening a file, which code correctly checks whether the file stream opened successfully?
``cpp
ifstream inFile("data.txt");
``