Q.

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» A. fp.seek(offset, 0)
Explanation: 0 indicates that the offset is with respect to the start.
610
0
Do you find this helpful?
12

Discussion

No comments yet