title: why it is necessary to use semicolon after functions prototype
body: <p>Why we use a semicolon after the <code>int add(int,int)</code> statement in  second line.</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int add(int,int);
  int main()
  {
  int a,b,c;
  scanf("%d %d",&amp;a,&amp;b);
  c=add(a,b);
  printf("The sum of the 2 numbers is %d",c);
  return 0;
  }
  int add(int x,int y)
  {
  int sum;
  sum=x+y;
  return sum;
  }
  </code></pre>