title: Printf and Array
body: <p>I was asked this question as a class exercise:</p>
  
  <pre><code>int A[] = {1,3,5,7,9,0,2,4,6};
  
  printf("%d\n", *(A+A[1]-*A));
  </code></pre>
  
  <p>I couldn't figure it out on paper, so went ahead to compiling a simple program and tested it and found that <code>printf("%d",*A)</code> always gives me <code>1</code> for the output.</p>
  
  <p>But I still do not understand why this is the case, hence it would be great if someone can explain this.</p>