title: What actually happens when a pointer to integer is cast to a pointer to char?
body: <pre><code>int i=40;
  char *p;
  p=(char *)&amp;i;//What actually happens here?
  printf("%d",*p);
  </code></pre>
  
  <p>What will be the output? Please help!</p>