title: C Wrong Answer when squaring
body: <p>I'm learning C using C by Example. There is a question where we need to take an input integer and square it and print it to the screen. I'm having a strange error, when no matter what Int I enter it give me this output:</p>
  
  <pre><code>Please enter a number.
  5
  Number = 2686764         Square of Number = 2686760
  </code></pre>
  
  <p>Here is the program I wrote.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;   //for getch()
  
  
  main(){
  
      int number, square;
  
      printf("Please enter a number. \n");
      scanf("%d", &amp;number);
      square = number*number;
      printf("\n Number = %d ", &amp;number);
      printf("\t Square of Number = %d", &amp;square);
      getch();
  
  
  }
  </code></pre>