title: Getting an error "error: expected expression before..." when I try to call a function with parameters in C
body: <p>My code looks like:</p>
  
  <pre><code>FILE *test
  char line[50];
  fp = fopen(arg[5], "r");
  
  doSomething(File test, char line[50]);  // declare function
  doSomething(fp, line[50]); // call function
  </code></pre>
  
  <p>I am getting an "expected error expression before 'FILE' error. I've tried many different variations of the syntax, but I still get this error, or more errors. I realize when I call the function, I just need to have the arguments within the same scope and to declare the function beforehand, which I thought I did.</p>
  
  <p>I just want to be able to call the function without error.</p>