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.open (filename);
b. inFile = filename;
c. inFile = "filename";
d. inFile.open ("filename");