Given the name of the file you want to open has been stored in the string object filename, which of the following will statements will correctly open the file.

A. inFile.open(filename);
B. inFile.open(c_str.filename());
C. inFile.open(‘filename’);
D. inFile.open("filename");


A. inFile.open(filename);

Computer Science & Information Technology

You might also like to view...

The _____________________ link property means that after a link has been clicked, it appears the same as before it was clicked.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What is public service advertising?

What will be an ideal response?

Computer Science & Information Technology

In the accompanying figure, you can remove a column by clicking just above the field name to select the column and then clicking the ____ key(s).

A. CTRL + DELETE B. CTRL + Y C. DELETE D. CTRL+ALT

Computer Science & Information Technology

A(n) ______________________________ is the result of an exam by a vendor to assess product-specific knowledge, skills and abilities.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology