title: Store data in array from input
body: <p>I'm beginner in C. Please dont mind if my question is lame. In this program which i have written, when I use 'for' loop first time , I expect only 3 values is stored in an array but it stores 4 values and in next 'for' loop as expected show 3 values. 
  My Question is why in 1st 'for' loop it takes 4 values instead of 3?</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  void main()
  {
      int marks[3];
      int i;
  
      for(i=0;i&lt;3;i++)
      {
          printf("Enter a no\n");
          scanf("%d\n",(marks+i));
      }
      for(i=0;i&lt;3;i++)
      {
          printf("%d\n",*(marks+i));
      }
  }
  </code></pre>