#include <stdio.h>
#include <stdlib.h>
struct hoge {
int i;
char c[];
};
int main()
{
struct hoge *p;
char s[] = "hoge";
p
= malloc(sizeof (struct hoge
) + sizeof s
);
printf("%d %s\n", p
->i
, p
->c
);
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCnN0cnVjdCBob2dlIHsKCWludAlpOwoJY2hhcgljW107Cn07CgppbnQgbWFpbigpCnsKCXN0cnVjdCBob2dlICpwOwoJY2hhcglzW10gPSAiaG9nZSI7CgoJcCA9IG1hbGxvYyhzaXplb2YgKHN0cnVjdCBob2dlKSArIHNpemVvZiBzKTsKCXAtPmkgPSBzdHJsZW4ocyk7CglzdHJjcHkocC0+Yywgcyk7CgoJcHJpbnRmKCIlZCAlc1xuIiwgcC0+aSwgcC0+Yyk7CgoJZnJlZShwKTsKfQo=