Solved

If the Name of the Input File Was in a Variable

Question 23

Multiple Choice

If the name of the input file was in a variable named filename, which of the following is the correct way to open the input stream named inFile and associate it with this file?


A) inFile.openfilename) ;
B) inFile=filename;
C) inFile="filename";
D) inFile.open"filename") ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions