title: Scanning elements of an array in c
body: <p>If I declare an array of n elements, while scanning the elements using a single for loop, I noticed the number of elements entered can be greater than n (if I keep pressing SPACE after each element), but when I print the array it gives  only first n elements. I am using code blocks.</p>
  
  <p>Why?</p>
  
  <p><a href="https://i.stack.imgur.com/FI859.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FI859.png" alt="enter image description here"></a></p>