title: passing argument x of 'y' from incompatible pointer type
body: <p>This is from a program that was written mostly for me to get the hang of fopen and similar syntax before attempting to use it in a larger program. So the only thing the program is trying to accomplish is to open a file (scores.dat), read the data in that file, assign it to an array, and then print the array.</p>
  
  <p>This is the segment of code where I have an error:</p>
  
  <pre><code>int scores[13][4];
  
  FILE *score; 
  score = fopen("scores.dat", "r");
  
  fscanf("%d %d %d %d", &amp;scores[0][0], &amp;scores[0][1], &amp;scores[0][2], &amp;scores[0][3]);
  
  printf("%d &amp;d %d %d", scores[0][0], scores[0][1], scores[0][2], scores[0][3]);
  
  fclose(score);
  </code></pre>
  
  <p>When compiling, I get the error:</p>
  
  <pre><code>text.c: In function 'main':
  text.c:15: warning: passing argument 1 of 'fscanf' from incompatible pointer type
  text.c:15: warning: passing argument 2 of 'fscanf' from incompatible pointer type
  </code></pre>
  
  <p>How would I fix that?</p>
  
  <p>In case it's important, scores.dat looks like this:</p>
  
  <pre><code>88 77 85 91 65 72 84 96 50 76 67 89 70 80 90 99 42 65 66 72 80 82 85 83 90 89 93 
  98 86 76 85 99 99 99 99 99 84 72 60 66 50 31 20 10 90 95 91 10 99 91 85 80
  </code></pre>