title: memory alignment issues with union
body: <p>Is there guarantee, that memory for this object will be properly aligned if we create object of this type in stack?</p>
  
  <pre><code>union my_union
  {
    int value;
    char bytes[4];
  };
  </code></pre>
  
  <p>If we create char bytes[4] in stack and then try to cast it to integer there might be alignment problem. We can avoid that problem by creating it in heap, however, is there such guarantee for union objects? Logically there should be, but I would like to confirm. </p>
  
  <p>Thanks.</p>