Match the following Set 1 to set 2.
Set 1 Set 2
a) f.seek(5, 1) i) Move file pointer five characters behind from the current position.
b) f.seek(-5, 1) ii) Move file pointer to the end of a File.
c) f.seek(0, 2) iii) Move file pointer five characters ahead from the current position.
d) f.seek(0) iv) Move file pointer to the beginning of a File.
1
a-i, b- iii, c- ii, d- iv
2
a-i, b- iii, c- iv, d- ii
3
a-iii, b-i , c-iv , d-ii
4
a-iii, b-i , c-ii , d-iv