GeekInterview.com
Series: Subject: Topic:
Question: 467 of 587

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
Asked by: Interview Candidate | Asked on: Jul 7th, 2005
Showing Answers 1 - 1 of 1 Answers
Sandhya.Kishan

Answered On : Mar 28th, 2012

View all answers by Sandhya.Kishan

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.

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.