A C Struct Alignment Visualizer
Live Demo at: https://staruwos.github.io/structviz/
struct Example {
char a;
long b;
char c;
void *d;
};struct ExampleB {
uint_fast16_t fast_val;
size_t length;
int (*callback)(void *, int);
char status;
ptrdiff_t memory_offset;
int (*callback_array[3])();
};struct ExampleC {
char a, b;
struct Inner {
int x;
double y;
} nested_item;
int *ptr1, ptr2;
long array[2], single;
};