The function ________ is used to write data to a binary file.

  • binary_write()
  • fread()
  • fwrite()
  • write()
The correct function to write data to a binary file in C is fwrite(). It is designed to write a specified number of elements to a binary file, making it an essential function for handling binary data.
Add your answer
Loading...

Leave a comment

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