If the name of a file to open is in the string variable name fileName, which of the following will correctly open the file for output?

a. out_file.open(fileName);
b. out_file.open("fileName");
c. fileName.open(outfile);
d. out_file.open(fileName.c_str());


d. out_file.open(fileName.c_str());

Computer Science & Information Technology

You might also like to view...

A typical time setting for turning the display off when a computer is plugged in is _____ minutes (for the Balanced power plan).

A. 5 B. 10 C. 15 D. 20

Computer Science & Information Technology

The default size limit for files in Office 365 is ________ MB

A) 100 B) 50 C) 200 D) 150

Computer Science & Information Technology

How can you determine which browsers to test your Web site in if your site is already up and running?  What if your Web site is new?

What will be an ideal response?

Computer Science & Information Technology

A contact is simply a collection of information about an individual or organization. AD DS provides the ________ folder, which you can use to store information such as the contact's name, email address, street address, and telephone number

Fill in the blank(s) with correct word

Computer Science & Information Technology