title: What's the correct way to add 1 byte to a pointer in C/C++?
body: <p>I'm using this code to move pointer by 1 byte now, but I'm feeling something unclear..</p>
  
  <pre><code>int* a = (int*)malloc(sizeof(int));
  void* b = ((char*)a)+1;   
  </code></pre>
  
  <p><code>char</code> is 1 byte, but not defined for byte operation purpose. I believe there's another way to do this <em>byte</em> operation. What's the <strong>correct</strong> way to <em>byte</em> operation?</p>
  
  <p>PS. I modified sample code to be valid. It's now compiled as C++ with Clang.</p>