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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock