title: Can fread() detect null character?
body: <p>Using C, can the function <strong>fread</strong> be used to read a null terminated string?</p>
  
  <p>I have to read a file that starts with an ip as 4 unsigned chars followed by an integer describing the number of null terminated strings. After that, I need to read the strings until the last one before another ip list starts.</p>
  
  <p>I greatly appreciate your help</p>
  
  <p><strong>Edit:</strong>
  I need to detect the null character and stop fread from continuing</p>