1.

Assume that the position of the file pointer is at the beginning of 3rd line in a text file. Which of the following option can be used to read all the remaining lines? a. myfile.read() b. myfile.read(n) c. myfile.readline() d. myfile.readlines()

Answer»

d. myfile.readlines()



Discussion

No Comment Found

Related InterviewSolutions