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
c str... View full answer
Get step-by-step solutions from verified subject matter experts
