We should not read after a write to a file without an intervening call to fflush(), fseek() or rewind() < TRUE/FALSE>

True


This question is related to Sonata Interview

Showing Answers 1 - 3 of 3 Answers

True, we should not be able to read a file after writing in that file without calling the given functions because if the file was open for writing and IF the last operation was an output operation, then any unwritten data in the output buffer may be written to the file TO AVOID THIS WE USE FFLUSH()OR REWIND() OR FSEEK.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions