Computer Science, asked by nk7399990, 7 months ago

fseek(fptr,0,0) is equivalent to ​

Answers

Answered by mulemadhu786
3

Answer:

rewind

Explanation:

from he topic fseek in C/C++

Answered by vishakasaxenasl
0

Answer:

fseek(fptr,0,0) is equivalent to rewind operation. It is used in C and C++ programming languages.

Explanation:

fseek() function performs the work to set the file pointer to the given offset. fseek()function takes three parameters that are

stream: This is the pointer to a FILE object that identifies the stream.

offset: This is the number of bytes to offset from whence.

whence:  This is the position from where offset is added. It is specified by one of the following constants.

It is generally used to write data into file at desired location. This function returns zero if  the operation is successful, otherwise it returns a non-zero value.

#SPJ3

Similar questions