- It is used to sets the position to the beginning of the file.
- It takes a file pointer and resets the position to the start of the file.
- Whenever a file is opened for reading and writing, a rewind is done implicitly.
- It helps us in reading a file more than once, without having to close and open the file.
rewind ( fp );
I am extremely impressed along with your writing abilities, Thanks for this great share.
ReplyDeleteVery interesting blog. A lot of blogs I see these days don't really provide anything that attract others, but I'm most definitely interested in this one. Just thought that I would post and let you know.
ReplyDelete