title: Use of *(char *) in C++
body: <p>I don't understand what using this syntax is for: <code>*(char *)</code>. What does it do and can it be used with other data types like <code>int</code>?</p>
  
  <pre><code>void function(int a)
  {
      *(char*)(0x12345 + (0x3980 * a)) = 0xFF;
  }
  </code></pre>