I
а так вот рабочий
#include <malloc.h>
struct Y{
int *z;
};
struct X{
struct Y *y;
};
int main(){
struct X x;
x.y = malloc(15*sizeof(struct Y));
x.y->z = malloc(15*sizeof(int));
return 0;
}
Size: a a a
I
#include <malloc.h>
struct Y{
int *z;
};
struct X{
struct Y *y;
};
int main(){
struct X x;
x.y = malloc(15*sizeof(struct Y));
x.y->z = malloc(15*sizeof(int));
return 0;
}
DS
R
DS
R
ES
DS
R
R
DS
R
DS
DS
R
DS
DS
R
DS
DS
R