Question: Which of the following reads a line of text from a sequential access file and assigns the line (excluding the newline character) to the strText

Which of the following reads a line of text from a sequential access file and assigns the line (excluding the newline character) to the strText variable?

a. inFile.Read(strText)

b. inFile.ReadLine(strText)

c. strText = inFile.ReadLine

d. strText = inFile.Read(line)

Step by Step Solution

3.41 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

c str... View full answer

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

Students Have Also Explored These Related Programming with Microsoft Visual Basic 2015 Questions!