Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, March 18, 2015

What is rewind() function?



  • 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.
Ex:
     rewind ( fp );

2 comments:

  1. I am extremely impressed along with your writing abilities, Thanks for this great share.

    ReplyDelete
  2. Very 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