8. Advantages of rewind()?
Ans:
We always move the file pointer in forward direction only.
Suppose we want to move to beginning we need another file pointer.
To avoid this kind of operations we use rewind.
rewind move file pointer to the first character of the pointer.
|