List-I | List-II |
(A) f.seek(-10,1) | (I) From beginning of file, move 10 bytes forward |
(B) f.seek(10,1) | (II) From current position, move 10 bytes backward |
(C) f.seek(10) | (III) From current position, move 10 bytes forward |
(D) f.seek(-10,2) | (IV) From end of the file, move 10 bytes backward |