title: A simple mathematical equation does not work in C programming
body: <p>The following equation gives error message but it should not.  </p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int main()
  {
     int a;
     a=12 + 10/2 + 3*2 – 5;
     printf("a=%d",a);
     return 0;
  }
  </code></pre>
  
  <p>What is wrong? </p>