title: Incorrect answer in C program, what I am missing?
body: <p>The following C program is for finding the value of formula (a+b)^2. </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;
  void main()
  {
  int a ,b , c;
  clrscr ();
  printf ("\n ENTER THE VALUE OF A AND B:");
  scanf("%d %d", &amp;a,&amp;b);
  c = a*a + b*b +2*a*b;
  printf(" \n THE FINAL RESULT IS = %d ", c);
  getche();
  }
  </code></pre>
  
  <p>Upon running, when I enter the value for a and b as 1 and 88888, then it gives -688680271 as answer:</p>
  
  <p>" ENTER THE VALUE OF A AND B:1 88888
   THE FINAL RESULT IS = -688680271 "</p>
  
  <p>But the answer is wrong, it should be 7901254321. Please help. Thx</p>