Question: 3. Which of the following reads a line of text from a sequential access file and assigns the line (excluding the newline character) to the
3. 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
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
