title: fprintf inside a for loop is not working properly
body: <p>I am attempting to create a text file using C that will contain a table of values in Fahrenheit and their Celsius conversion. 
  I am able to use fprintf properly outside of the for loop but when I put it inside it does not print anything to the file. The code compiles properly but when I try to execute it completes but with exit code "-1073741819"</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;math.h&gt;
  #include &lt;stdlib.h&gt;
  int main()
  {
  
      FILE *filePointerThree;
      double myArray[100];
  
      filePointerThree = fopen("myFileFive.txt", "w");
  
      for(int i=0; i&lt;=100; i++)
      {
          myArray[i] = (i-32)/1.8;
      }
  
      for(int j=0; j&lt;=100; j+=5)
      {
          fprintf(filePointerThree, "%d degrees F \t %5.2lf degrees C\n", j, myArray[j]);
      }
      fclose(filePointerThree);
  }
  </code></pre>