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
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
Explanation: 0 indicates that the offset is with respect to the start.