Computer Science, asked by Gangarao3356, 6 months ago

What is the function of rewind()

Answers

Answered by jaypriyaperumal4
1

Answer:

In the C Programming Language, the rewind function sets the file position to the beginning of the file for the stream pointed to by stream. It also clears the error and end-of-file indicators for stream.

Explanation:

Answered by mad210202
0

Answer:

The function of rewind() function is to Reposition the file pointer to a character reverse.

Explanation:

  • In C Programming Language, the rewind function sets the file position at the beginning of the file for the stream pointed to by the stream.
  • Rewind function  also clears the error and end-of-file indicators for stream.
  • The stream for which the file position indicator is to be set at the beginning of the file.

  • The syntax for the rewind function:

void rewind(FILE *stream);

  • The rewind function does not return anything and it does not have return type.
Similar questions