title: Invalid conversion from int to int c++?
body: <p>I declared this function :</p>
  
  <pre><code>int dice(int roll[8]) {
  blah blah
  return (score);
  </code></pre>
  
  <p>And called it in int main:</p>
  
  <pre><code>newScore = score(roll[8]);
  </code></pre>
  
  <p>I am getting an invalid conversion from int to int error. What am I doing wrong? The error is on the line where I call it.</p>