title: adjusting memory alignment in a struct
body: <p>I am aware of the memory alignment in structure but I am stumped at this implementation I came across in a project I am working on.</p>
  
  <pre><code>struct default {
       uint8_t variable[((sizeof(struct dummyStructure) + 3) /4)*4]  // Align on 32 bit boundary
  }
  </code></pre>
  
  <p>It is more like a black box testing for me at the moment because I dont have access to the functions, but can anyone explain the math used here to cause this alignment to happen.</p>