When reading a text file in C, which function can be used to read data from the file?

  • fgets
  • fputs
  • fread
  • fwrite
When reading a text file in C, the fgets function is commonly used to read data from the file. It reads one line of text at a time, making it suitable for text file processing.
Add your answer
Loading...

Leave a comment

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