1.

How do you change the file position to an offset value from the start?(a) fp.seek(offset, 0)(b) fp.seek(offset, 1)(c) fp.seek(offset, 2)(d) none of the mentioned

Answer» Right answer is (a) fp.seek(offset, 0)

Explanation: 0 indicates that the offset is with respect to the start.


Discussion

No Comment Found