Question: 1. Which of the following opens a sequential access file named MyFriends.txt for input? a. inFile = IO.File.Input(MyFriends.txt) b. inFile = IO.InputFile(MyFriends.txt) c. inFile =
1. Which of the following opens a sequential access file named MyFriends.txt for input?
a. inFile = IO.File.Input("MyFriends.txt")
b. inFile = IO.InputFile("MyFriends.txt")
c. inFile = IO.File.InputText("MyFriends.txt")
d. inFile = IO.File.OpenText("MyFriends.txt")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
