title: Can i use pointer in scanf to take input in an array?
body: <p>I am trying to do this in <a href="/questions/tagged/c" class="post-tag" title="show questions tagged &#39;c&#39;" rel="tag">c</a>:</p>
  
  <pre><code>scanf("%d",a+i);
  </code></pre>
  
  <p>where <code>a</code> is an array of size <code>10</code>. And <code>i</code> is counter for loop. So is this possible?</p>