We should not read after a write to a file without an intervening call to fflush(), fseek() or rewind() "
a. true
b. false"
Answers
Answered by
2
your answer is true...
Answered by
0
The given statement here is true.
- Without the use of the given functions fflush( ), fseek(), or rewind( ) we are not able to read the already written files.
- This is because when a file is open for the writing function, and an output operation was the last operation performed, then there is a high chance for the unwritten data from the output buffer to add to the file.
- To avoid such things, use the functions above mentioned.
#SPJ2
Similar questions