Library Functions

Q1: What will the function rewind() do?

A Reposition the file pointer to a character reverse.

B Reposition the file pointer stream to end of file.

C Reposition the file pointer to begining of that line.

D Reposition the file pointer to begining of file.

ANS:D - Reposition the file pointer to begining of file.

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);



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.