Structure Layouts

struct BEAVIS
{
  char a;
  double b;
  char c;
  double d;
  char e;
  double f;
  char g;
  double h;
};
struct BUTTHEAD
{
  char a;
  char c;
  char e;
  char g;
  double b;
  double d;
  double f;
  double h;
};

Layout for BEAVIS (64 bytes):

Layout for BUTTHEAD (40 bytes):