title: How to read in a specific line from an input file in C?
body: <p>If I want to read in a specific line without knowing what exactly is in that line how would I do that using fscanf?</p>
  
  <pre><code>one \n
  two \n
  three \n
  i want this line number four \n
  five \n
  six \n
  </code></pre>
  
  <p>How would I read in the 5th line in that input text file? Do I need to use a while loop or a for loop? </p>