title: Unhandled exception at 0x00af7230 in CPP_TEST.exe: 0xC0000005: Access violation writing location 0x00abcdef
body: <p>I am getting <code>Access violation writing location at 0xABCDEF</code>.
  I have tried many ways to solve this. But finally could not able to do it.</p>
  
  <pre><code>#define xyz 0xABCDEF
  #define ptr (UINT16 *) (xyz)
  
  int main()
  {
  
      //int *ptr;
      //ptr = (int*)malloc(sizeof(int));
      *ptr = 0;
      return 0;
  }
  </code></pre>
  
  <p>Please help me.</p>