fseek(fptr,0,0) is equivalent to
Answers
Answered by
3
Answer:
rewind
Explanation:
from he topic fseek in C/C++
Answered by
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
Science,
3 months ago
Computer Science,
3 months ago
Science,
3 months ago
Chemistry,
7 months ago
History,
7 months ago
Computer Science,
11 months ago
English,
11 months ago
Math,
11 months ago