Which of the following reads a line of text from a sequential access file and assigns the

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 variable?

a. inFile.Read(strText)

b. inFile.ReadLine(strText)

c. strText = inFile.ReadLine

d. strText = inFile.Read(line)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: