Q6
What is the purpose of the seek() method in file handling?
A.
It changes the file position to a specified offset
AnswerB.
It searches for a string in the file
C.
It appends data to the end of the file
D.
It reads a specific line
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board