Question: 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)
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
3.41 Rating (160 Votes )
There are 3 Steps involved in it
d inFil... View full answer
Get step-by-step solutions from verified subject matter experts
