Question: C++ please answer 30-34 statement correctly opens an input stream named in file and attaches it to a file name project.txt? a. in file-project.txt b.

C++ please answer 30-34
statement correctly opens an input stream named in file and attaches it to a file name project.txt? a. in file-project.txt b. in file "project.txt c. in file.open("project.txt"); d. in file open(project.txt) 31. Which of the following is the correct way to close a file stream named outFile? a outFile.closeO: b. outFile close c outFile.close"project.txt"): d. close(outFile) 32. In order to use the stream manipulators, you must include the library a. manip b. iomanip d fstream 33. What is the output of the following code fragment? int i-5 switch) case 0: i-15 break case 1: i-25,break: case 2: i-35,break case 3:-40; default i-0; a. 15 b. 25 35 d 40 34 If the variable s has the original value of 3.4, what is the value in s afher the olowing cout e static cast-nP a 34 c unknow
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
