OpenTechBook
  • Home
  • Open Books
    • All Open Books

    • Free eBooks
    • Free Magazines
    • Free Journals

    • Submit an Open Book
  • Quizzes
Home » Quiz » C Language Quiz

Which function in C is used to flush the output buffer of a stream?

Difficulty level
  • fflush()
  • fprintf()
  • fputc()
  • fputs()
The fflush() function in C is used to flush the output buffer of a stream, ensuring that any buffered data is written to the file or console.
Add your answer
Loading...
Facebook Twitter Linkedin Reddit Pinterest
C Language Quiz
Quiz
What is the relationship between the addresses of consecutive elements in a one-dimensional array?
When defining a structure in C, memory is not allocated until an ________ of the structure is created.

Related Quiz

  • The keyword ________ is used to define a structure in C.
  • How does the 'ternary' operator (?:) work in C?
  • What is the significance of the size_t return type in the fwrite function?
  • To allocate memory dynamically and initialize it to a specific value, the ________ function can be used in C.
  • In the context of bit fields, if the declared width is larger than the width of the specified type, the behavior is considered ________.

Leave a commentCancel

Your email address will not be published. Required fields are marked *

Hot Quiz

PHP QuizPython QuizServlet QuizAPI Testing QuizDatabase Testing QuizAdobe Experience Manager QuizSpring Boot QuizAWS Lambda QuizWeb Services QuizExploratory Data Analysis QuizADO.NET QuizData Analyst QuizJava QuizAppium QuizData Science Statistics QuizASP.NET Core QuizGO QuizNode.js QuizCCNA QuizR Programming Quiz
Copyright © 2025 Open Tech Book
  • About
  • Contact
  • FAQ
  • DMCA
  • Disclaimer
  • Privacy Policy