Home » C Programming » Library Functions

What will the function rewind() do?

Correct Answer: Reposition the file pointer to begining of file.

Explanation:

rewind() takes the file pointer to the beginning of the file. so that the next I/O operation will take place at the beginning of the file.
Example: rewind(FilePointer);

Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion