title: print characters from an array to an output file in C
body: <p>I want to write a method called print array that has 2 parameters seen below. </p>
  
  <p>I want to, most likely using a for loop, iterate through the array of characters and pass each character to the output text file to be printed on that file on the same line. so if the array has a, b, c, d, e, f, g. in the file I want it to display abcdefg. I dont really know how to get it started. </p>
  
  <pre><code>void printArray(char * array, FILE * fout)
  {
      //i think using a for loop is the way to go, i just dont know exactly what to do after
  }
  </code></pre>