title: Memory Alignment For Global/Local Variables in C
body: <p>In C if I create a structure like</p>
  
  <pre><code>typedef struct A
  {
    int a;
    char b;
  } sampleType __attribute__ ((aligned (128)));
  </code></pre>
  
  <p>All the variables of this type would be aligned by 128 bit boundary.</p>
  
  <p>Is it same for the global and local variables of this type?
  Or does it differ from compiler to compiler?
  How does GCC/LLVM handle them?</p>