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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
