title: C error: expected expression before '{' token
body: <p>This is the code <a href="http://pastebin.com/Y7zQkVHZ" rel="nofollow">http://pastebin.com/Y7zQkVHZ</a></p>
  
  <p>and the compiler gives me the above error. What is the mistake ?
  thanks(:</p>
  
  <p>Here is the code in an immediately readable form:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #define round(a) {    \
      if(a &lt; 0)    \
          ((a + 0.5) &lt; (int)a)? (int)a: (int)a + 1;    \
      else        \
          ((a - 0.5) &lt; (int)a)? (int)a: (int)a + 1;    \
  }
  
  #define ARRLENG 8 /* array length */
  
  /* function prototype */
  void arrRounder(double[ARRLENG]);
  
  int main()
  {
      double arr[ARRLENG] = {2.13, 6.9, 9.49999, 0.5, 8.0, 0, -2.4, -2.5};
      arrRounder(arr);
      return 0;
  }
  
  void arrRounder(double arr[ARRLENG])
  {
      int i = 0;
  
      for(i = 0; i &lt; ARRLENG; i++)
          arr[i] = round(arr[i]);
  
      for(i = 0; i &lt; ARRLENG; i++)
          printf("%lf\n", arr[i]);
  }
  </code></pre>