title: C Programming: error: expected ‘)’ before string constant
body: <pre><code>shell_command(char gcommand[100]) {
   char output[100];
   system(gcommand "&gt;" output);
  
   return output;
  }
  </code></pre>
  
  <p>Gives me <br>
  <strong>error: expected ‘)’ before string constant</strong></p>
  
  <p>I am not quite sure why this happens. Appriciate any help :)</p>