title: How to cast an int's address to char pointer in C?
body: <p>Currently the below code gives me a warning when i try to compile it:</p>
  
  <p>int z;
  char *w;</p>
  
  <p>w = &z;</p>
  
  <p>How can i cast &amp;z properly so that w stores the pointer to z's address?</p>