title: Endianness issue?
body: <p>What will be the output of the following code?</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int main()
  {
      int a[4]={4096,2,3,4};
      char *p;
      p=a;
      printf("\n %d",(int)*(++p));
      return 0;
  }
  
  sizeof int = sizeof(void*) = 4 bytes
  </code></pre>
  
  <p>According to me the output should be 16 on a little endian machine and 0 on a big endian machine. Am I right?</p>