1 2 3 4 5 6 7 8 9 10 11
#include <stdio.h> struct aaa { int a; void* b; } __attribute__((__aligned__(8))); int main() { printf("%lu\n", sizeof(struct aaa) - sizeof(int)); }