linked linked linkedin whatsapp remove
Feedback

System Programming Quiz System Programming

Some programme that streams data to a hard-disk file in a loop crashed before it closed the FILE pointer. When the output file is inspected side-by-side with the logs, it is clear that the fprintf() function previous to the crash was unsuccessful. Such a situation can be averted using which one of the following?

fflush()
fscanf()
fbuffer()
sscanf()

Answer:
fflush()

Note: This Question is unanswered, help us to find answer for this one