Which of the following statements correctly declares the input file object MyInput and initializes the file object to stream from the file exam.txt?
A. ifstream MyInput("exam.txt");
B. MyInput ifstream("exam.txt");
C. ifstream MyInput(exam.txt);
D. MyInput ifstream(exam.txt);
A. ifstream MyInput("exam.txt");
Computer Science & Information Technology
You might also like to view...
A set of characters with the same design and shape is a:
a. Font b. Color c. Graphic
Computer Science & Information Technology
The ____________________ operator causes a member-wise copy of the member variables of the class.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology